Update django-launcher.dev.sh

This commit is contained in:
Andros Fenollosa 2021-05-11 17:21:58 +02:00 committed by GitHub
parent 81eea97727
commit 49bf1f6dbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,11 +9,6 @@ echo "Apply database migrations"
python3 manage.py makemigrations python3 manage.py makemigrations
python3 manage.py migrate python3 manage.py migrate
# Apply crons
service cron start
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