Add release-tasks script for setting up database

master
esensar 2018-05-03 21:00:48 +02:00
parent 05f4abea3c
commit 6c7d0a5de6
2 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,2 @@
release: python manage.py migrate release: ./release-tasks.sh
web: gunicorn app:app web: gunicorn app:app

4
release-tasks.sh 100755
View File

@ -0,0 +1,4 @@
#!/bin/sh
python manage.py db init
python manage.py db migrate
python manage.py db upgrade