blob: 56072d052a280d5bcf96c39f8edbe4f96399dc3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
set -e
python create_metricity_db.py
alembic upgrade head
if [ -e /tmp/bot/metricity-config.toml ]; then
echo "Detected metricity running in bot context, copying config."
cp --force /tmp/bot/metricity-config.toml ./config.toml
fi
shopt -s nocasematch
if [ "${USE_METRICITY:-true}" = "true" ]; then
poetry run start
fi
|