run celery in terminal background for better debugging

This commit is contained in:
simon 2021-09-13 22:18:03 +07:00
parent f60dbde3dc
commit fc5d6bc98c

2
run.sh
View File

@ -16,5 +16,5 @@ done
python manage.py migrate python manage.py migrate
python manage.py collectstatic python manage.py collectstatic
nginx & nginx &
celery -A home.tasks worker --loglevel=INFO --detach celery -A home.tasks worker --loglevel=INFO &
uwsgi --ini uwsgi.ini uwsgi --ini uwsgi.ini