Add File
This commit is contained in:
13
backend/scripts/prestart.sh
Normal file
13
backend/scripts/prestart.sh
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user