mirror of
https://github.com/RYDE-WORK/full-stack-fastapi-template.git
synced 2026-01-19 21:23:36 +08:00
14 lines
183 B
Bash
14 lines
183 B
Bash
#! /usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
# 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
|