Update master with all the staging changes for aws deployments.

This commit is contained in:
Rebecca Law
2016-04-15 16:10:11 +01:00
parent 966a662513
commit bfb59811f4
6 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash
echo "Chown application to be owned by ubuntu"
cd /home/ubuntu/;
chown -R ubuntu:ubuntu notifications-api
echo "Chown application to be owned by notify-api"
cd /home/notify-app/;
chown -R notify-app:govuk-notify-applications notifications-api

View File

@@ -1,4 +1,4 @@
echo "Install dependencies"
cd /home/ubuntu/notifications-api;
pip3 install -r /home/ubuntu/notifications-api/requirements.txt
cd /home/notify-app/notifications-api;
pip3 install -r /home/notify-app/notifications-api/requirements.txt
python3 db.py db upgrade