From c4887530f8ececad37de5f03b90366b6492c7e21 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 27 Mar 2019 13:45:47 +0000 Subject: add initial deployment files --- boot.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 boot.sh (limited to 'boot.sh') 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 + -- cgit v1.2.3