summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Manfre2022-11-08 23:05:51 -0500
committerGitHub2022-11-08 21:05:51 -0700
commit8a0a7558894afce8d25b7f0dc16775e899b72a94 (patch)
tree205c01cefcca52ded01e054810932e1ac39375a1 /scripts
parent54e1b1f93a81b93e24ee8dc70d41bd95ff782ba2 (diff)
downloadtakahe-8a0a7558894afce8d25b7f0dc16775e899b72a94.tar.gz
takahe-8a0a7558894afce8d25b7f0dc16775e899b72a94.tar.bz2
takahe-8a0a7558894afce8d25b7f0dc16775e899b72a94.zip
Add basic docker support
Diffstat (limited to 'scripts')
-rw-r--r--scripts/start.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/start.sh b/scripts/start.sh
new file mode 100644
index 0000000..99f1ed0
--- /dev/null
+++ b/scripts/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