felicity-lims/prestart.sh
2023-04-07 17:52:19 +02:00

10 lines
208 B
Bash
Executable file

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