Putting this back in the dependencies file for now

- this fails on the instance and not sure why, putting back till I can figure it out
This commit is contained in:
Martyn Inglis
2016-01-11 17:32:24 +00:00
parent 35b4f8f3a7
commit e075145945
3 changed files with 2 additions and 8 deletions

View File

@@ -13,11 +13,7 @@ hooks:
location: scripts/aws_change_ownership.sh
runas: root
timeout: 300
-
location: scripts/aws_db_updates.sh
runas: ubuntu
timeout: 300
ApplicationStart:
ApplicationStart:
-
location: scripts/aws_start_app.sh
runas: root

View File

@@ -1,3 +0,0 @@
#!/bin/bash
python3 db.py db upgrade

View File

@@ -4,3 +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 db.py db upgrade