Update django-launcher.pro.sh

This commit is contained in:
Andros Fenollosa 2021-04-27 08:44:13 +02:00 committed by GitHub
parent fb38fa38bd
commit 9ab9f343a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,10 @@ echo "Apply database migrations"
python3 manage.py makemigrations
python3 manage.py migrate
# Apply crons
python3 manage.py crontab remove
python3 manage.py crontab add
# Start server
echo "Starting server"
uvicorn --host 0.0.0.0 --port 8000 chapps.asgi:application