core: bot qoshildi

This commit is contained in:
behruz
2025-12-10 17:53:23 +05:00
parent b924442631
commit 445ae78095
4 changed files with 81 additions and 3 deletions

View File

@@ -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 $?