luthor/luthor/prestart.sh
2021-01-05 13:02:52 +05:30

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