2024-12-26 14:42:24 +02:00

13 lines
184 B
Bash

#! /usr/bin/env sh
# Let the DB start
python backend_pre_start.py
# Run migrations
aerich upgrade
# Create initial data in DB
if [ -n "$DEBUG" ]; then
python initial_data.py
fi