From ea9a0ebf7291231aaa42b2b6038dabb407b17055 Mon Sep 17 00:00:00 2001 From: Gustavo-SF Date: Sun, 11 Aug 2024 18:06:58 +0100 Subject: [PATCH] migrate before running app --- portal/bin/start_prod.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/portal/bin/start_prod.sh b/portal/bin/start_prod.sh index 0ced9322..42560782 100755 --- a/portal/bin/start_prod.sh +++ b/portal/bin/start_prod.sh @@ -4,4 +4,5 @@ set -o errexit set -o nounset +poetry run python manage.py migrate poetry run gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir /app --access-logfile - --capture-output --log-level debug --log-file -