Initial
This commit is contained in:
7
backend/scripts/on-deploy.sh
Executable file
7
backend/scripts/on-deploy.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
python manage.py collectstatic --noinput
|
||||
python manage.py migrate
|
||||
|
||||
# python -m uvicorn --port 8099 config.asgi:application
|
||||
python -m gunicorn -b 0.0.0.0:8099 -k uvicorn.workers.UvicornWorker config.asgi:application
|
||||
Reference in New Issue
Block a user