New DB script to replace old one

- forgot about production only properties.
This commit is contained in:
Martyn Inglis
2016-01-11 13:53:55 +00:00
parent ee034723b7
commit 95b6da9b4e
2 changed files with 16 additions and 1 deletions

View File

@@ -4,4 +4,4 @@ echo "Install dependencies"
cd /home/ubuntu/notifications-admin;
export FLASK_CONFIG=/home/ubuntu/config.cfg
pip3 install -r /home/ubuntu/notifications-admin/requirements.txt
python3 app.py db upgrade
python3 db.py db upgrade