Files
fast_api_template/backend/scripts/prestart.sh
T

14 lines
183 B
Bash
Raw Normal View History

#! /usr/bin/env bash
set -e
set -x
# Let the DB start
python app/backend_pre_start.py
2019-02-23 18:44:29 +04:00
# Run migrations
alembic upgrade head
# Create initial data in DB
python app/initial_data.py