diff options
| author | 2021-09-10 20:51:10 +0100 | |
|---|---|---|
| committer | 2021-09-10 20:51:10 +0100 | |
| commit | f1219bc472bfa497057a1535b6d37752002e8492 (patch) | |
| tree | af0717e76f4b0b8f4bb440f8ceee1563e6d480b9 /entry_point.sh | |
| parent | Merge pull request #6 from python-discord/sync-channels-guard-no-category (diff) | |
| parent | Capitalise SKIP_METRICITY env var name (diff) | |
Merge pull request #7 from python-discord/metricity-creates-own-database
Diffstat (limited to 'entry_point.sh')
| -rw-r--r-- | entry_point.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/entry_point.sh b/entry_point.sh new file mode 100644 index 0000000..cf101da --- /dev/null +++ b/entry_point.sh @@ -0,0 +1,9 @@ +set -e + +python create_metricity_db.py +alembic upgrade head + +shopt -s nocasematch +if [ "$SKIP_METRICITY" != "true" ]; then + poetry run start +fi |