Updated start scripts to not look up envrionemnt

This commit is contained in:
Martyn Inglis
2016-07-04 17:21:08 +01:00
parent a76e3fa31d
commit fe84674a77
6 changed files with 19 additions and 51 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-admin
cd /home/notify-app/;
chown -R notify-app:govuk-notify-applications notifications-admin

View File

@@ -1,5 +1,5 @@
#!/bin/bash
echo "Install dependencies"
cd /home/ubuntu/notifications-admin;
pip3 install -r /home/ubuntu/notifications-admin/requirements.txt
cd /home/notify-app/notifications-admin;
pip3 install -r /home/notify-app/notifications-admin/requirements.txt