FitTrackee/docker/init-database.sh

9 lines
136 B
Bash
Raw Normal View History

2021-01-31 11:30:37 +01:00
#!/bin/bash
set -e
cd /usr/src/app
source .env.docker
flask drop-db
flask db upgrade --directory fittrackee/migrations
flask init-data