aboutsummaryrefslogtreecommitdiff
path: root/boot.sh
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-03 16:40:05 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-12-03 16:40:05 +0000
commit125186f21f387fa6ef8d12f020f316b415a543da (patch)
tree5796b43133fb3fd2f5a9c2a80de62ce384b29456 /boot.sh
parentremove clevercsv to speed up docker build (diff)
downloadAnnotateChange-125186f21f387fa6ef8d12f020f316b415a543da.tar.gz
AnnotateChange-125186f21f387fa6ef8d12f020f316b415a543da.zip
Cut out poetry
Adds unnecessary complexity to install process.
Diffstat (limited to 'boot.sh')
-rw-r--r--boot.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/boot.sh b/boot.sh
index c4b76ff..5b9824d 100644
--- a/boot.sh
+++ b/boot.sh
@@ -1,10 +1,13 @@
#!/bin/sh
-
+#
+# Script to run the AnnotateChange application.
+#
+# First tries to perform all database migrations, then launches the app
+# through gunicorn. The script assumes that all dependencies are available in
+# the environment.
+#
# Author: G.J.J. van den Burg <gvandenburg@turing.ac.uk>
-# Activate the virtual environment
-poetry shell
-
# Run database migrations
while true; do
flask db upgrade