backend_and_cms/backend/prestart.sh

11 lines
178 B
Bash
Raw Permalink Normal View History

2024-09-17 12:11:39 +08:00
#! /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