plane/apiserver/bin/takeoff

10 lines
286 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
python manage.py wait_for_db
python manage.py migrate
# Create a Default User
python bin/user_script.py
2023-07-19 09:37:54 +00:00
exec gunicorn -w 8 -k uvicorn.workers.UvicornWorker plane.asgi:application --bind 0.0.0.0:8000 --max-requests 1200 --max-requests-jitter 1000 --access-logfile -