Files
fast_api_template/src/backend/prestart.sh
T
2024-02-25 18:48:02 +01:00

11 lines
178 B
Bash

#! /usr/bin/env bash
# Let the DB start
python /app/app/backend_pre_start.py
# Run migrations
alembic upgrade head
# Create initial data in DB
python /app/app/initial_data.py