#! /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