diff options
author | Andrew Godwin | 2022-11-18 17:24:43 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-18 17:24:43 -0700 |
commit | 80193114909a3f6ca1eda9a47b6330ef249a8ee5 (patch) | |
tree | 488baeeb9ab98a2d27500c03af70a0a25758e91a /docker/start.sh | |
parent | 81de10b70c85c5222b17d8c4358a8aa8812f2559 (diff) | |
download | takahe-80193114909a3f6ca1eda9a47b6330ef249a8ee5.tar.gz takahe-80193114909a3f6ca1eda9a47b6330ef249a8ee5.tar.bz2 takahe-80193114909a3f6ca1eda9a47b6330ef249a8ee5.zip |
Deployment re-jiggling
Diffstat (limited to 'docker/start.sh')
-rw-r--r-- | docker/start.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docker/start.sh b/docker/start.sh index 99f1ed0..1c01b6e 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -1,7 +1,5 @@ #!/bin/sh -. /takahe/.venv/bin/activate +python3 manage.py migrate -python manage.py migrate - -exec gunicorn takahe.asgi:application -k uvicorn.workers.UvicornWorker -b 0.0.0.0:8000 +exec gunicorn takahe.wsgi:application -w 8 -b 0.0.0.0:8000 |