init
This commit is contained in:
12
app/dev_run.sh
Normal file
12
app/dev_run.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
CORES=$(nproc)
|
||||
WORKERS=$((2 * CORES + 1))
|
||||
|
||||
cd /app/frontend && yarn dev &
|
||||
#cd /app && python manage.py runserver 0.0.0.0:8000 &
|
||||
cd /app && hypercorn app.asgi:application -c hypercorn_dev.toml &
|
||||
|
||||
wait -n
|
||||
|
||||
exit $?
|
||||
Reference in New Issue
Block a user