aboutsummaryrefslogtreecommitdiff
path: root/boot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boot.sh')
-rw-r--r--boot.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/boot.sh b/boot.sh
new file mode 100644
index 0000000..9d50eef
--- /dev/null
+++ b/boot.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Activate the virtual environment
+poetry shell
+
+# Run database migrations
+flask db upgrade
+
+exec gunicorn -b :5000 --access-logfile - --error-logfile - annotate_change:app
+