From c074dad677e0923e9a3c99f41fcefa8b2e0cf9a2 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Tue, 5 Dec 2023 09:51:42 -0500 Subject: [PATCH] modified: install-ubuntu.sh --- install-ubuntu.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install-ubuntu.sh b/install-ubuntu.sh index f3750c3..5312e70 100644 --- a/install-ubuntu.sh +++ b/install-ubuntu.sh @@ -73,6 +73,12 @@ else echo "Service file $SERVICE_FILE already exists." fi +# Initialize the database +python init_db.py + +# Stamp the database with the Alembic head revision +FLASK_APP=app.py flask db stamp head + # Deactivate the virtual environment deactivate