core: bot qoshildi
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
python3 manage.py collectstatic --noinput
|
||||
python3 manage.py migrate --noinput
|
||||
|
||||
gunicorn config.wsgi:application -b 0.0.0.0:8000 --workers $(($(nproc) * 2 + 1))
|
||||
gunicorn config.wsgi:application -b 0.0.0.0:8000 --workers $(($(nproc) * 2 + 1)) &
|
||||
|
||||
python3 core/bot/main.py &
|
||||
|
||||
wait
|
||||
|
||||
exit $?
|
||||
@@ -2,6 +2,10 @@
|
||||
python3 manage.py collectstatic --noinput
|
||||
python3 manage.py migrate --noinput
|
||||
|
||||
uvicorn config.asgi:application --host 0.0.0.0 --port 8000 --reload --reload-dir core --reload-dir config
|
||||
uvicorn config.asgi:application --host 0.0.0.0 --port 8000 --reload --reload-dir core --reload-dir config &
|
||||
|
||||
python3 core/bot/main.py &
|
||||
|
||||
wait
|
||||
|
||||
exit $?
|
||||
Reference in New Issue
Block a user