diff --git a/start.sh b/scripts/start.sh similarity index 76% rename from start.sh rename to scripts/start.sh index 79ebf34..955f2de 100644 --- a/start.sh +++ b/scripts/start.sh @@ -13,9 +13,7 @@ if [ "$RUN_TYPE" = "web" ]; then if [ "$BACKEND_DEBUG" = 'True' ]; then python manage.py runserver "0.0.0.0:8000" else - # Feel free to replace the WSGI server here with something else - # gunicorn --workers 8 --bind 0.0.0.0:8000 config.wsgi:application # Gunicorn - python -m granian --host 0.0.0.0 --port 8000 --workers 8 --interface wsgi config.wsgi:application # Granian + gunicorn --workers 8 --bind 0.0.0.0:8000 config.wsgi:application # Gunicorn fi elif [ "$RUN_TYPE" = "worker" ]; then celery -A config worker -l INFO -E --concurrency 1