13 lines
184 B
Bash
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
|