Update django-launcher.dev.sh

This commit is contained in:
Andros Fenollosa 2021-04-27 08:43:47 +02:00 committed by GitHub
parent a1efd01a61
commit fb38fa38bd
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 makemigrations
python3 manage.py migrate python3 manage.py migrate
# Apply crons
python3 manage.py crontab remove
python3 manage.py crontab add
# Start server # Start server
echo "Starting server" echo "Starting server"
uvicorn --host 0.0.0.0 --port 8000 --reload chapps.asgi:application uvicorn --host 0.0.0.0 --port 8000 --reload chapps.asgi:application