summaryrefslogtreecommitdiffstats
path: root/docker/start.sh
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-12 22:10:06 -0700
committerAndrew Godwin2022-11-12 22:10:06 -0700
commit143a4a6e8c70557710d1b207a176f169d145ed1e (patch)
tree133454aa4da2b5614a33bc4a91d7b152f50eb40c /docker/start.sh
parent878f56b411279cd9865a7ec05f1d14c9f70f6187 (diff)
downloadtakahe-143a4a6e8c70557710d1b207a176f169d145ed1e.tar.gz
takahe-143a4a6e8c70557710d1b207a176f169d145ed1e.tar.bz2
takahe-143a4a6e8c70557710d1b207a176f169d145ed1e.zip
Start some settings work
Diffstat (limited to 'docker/start.sh')
-rw-r--r--docker/start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/start.sh b/docker/start.sh
new file mode 100644
index 0000000..99f1ed0
--- /dev/null
+++ b/docker/start.sh
@@ -0,0 +1,7 @@
+#!/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