blob: b6be6379284d005f277bc4a6e205313d658827c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
set -e
poetry run python create_metricity_db.py
poetry run 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 python -m metricity
fi
|