FitTrackee/docker/init-database.sh
2021-01-31 11:30:41 +01:00

9 lines
136 B
Bash
Executable File

#!/bin/bash
set -e
cd /usr/src/app
source .env.docker
flask drop-db
flask db upgrade --directory fittrackee/migrations
flask init-data