diff --git a/backend/scripts/prestart.sh b/backend/scripts/prestart.sh new file mode 100644 index 0000000..1b395d5 --- /dev/null +++ b/backend/scripts/prestart.sh @@ -0,0 +1,13 @@ +#! /usr/bin/env bash + +set -e +set -x + +# Let the DB start +python app/backend_pre_start.py + +# Run migrations +alembic upgrade head + +# Create initial data in DB +python app/initial_data.py