takahe/scripts/start.sh

8 lines
154 B
Bash
Raw Normal View History

2022-11-09 04:05:51 +00:00
#!/bin/sh
. /takahe/.venv/bin/activate
python manage.py migrate
exec gunicorn takahe.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000