Files
bps_admin/backend/scripts/prestart.sh
T

11 lines
168 B
Bash

#! /usr/bin/env bash
# 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