Files
full-stack-fastapi-template/backend/scripts/prestart.sh

11 lines
168 B
Bash
Raw Normal View History

#! /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