Add release-tasks script for setting up database
parent
05f4abea3c
commit
6c7d0a5de6
2
Procfile
2
Procfile
|
@ -1,2 +1,2 @@
|
||||||
release: python manage.py migrate
|
release: ./release-tasks.sh
|
||||||
web: gunicorn app:app
|
web: gunicorn app:app
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
python manage.py db init
|
||||||
|
python manage.py db migrate
|
||||||
|
python manage.py db upgrade
|
Loading…
Reference in New Issue