mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-15 01:32:20 -05:00
Revert "Update master with all the staging changes for aws deployments."
This reverts commit bfb59811f4.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
files:
|
||||
-
|
||||
destination: /home/notify-app/notifications-api
|
||||
destination: /home/ubuntu/notifications-api
|
||||
source: /
|
||||
hooks:
|
||||
AfterInstall:
|
||||
|
||||
@@ -3,7 +3,7 @@ from app import notify_celery, create_app
|
||||
from credstash import getAllSecrets
|
||||
import os
|
||||
|
||||
default_env_file = '/home/notify-app/environment'
|
||||
default_env_file = '/home/ubuntu/environment'
|
||||
environment = 'live'
|
||||
|
||||
if os.path.isfile(default_env_file):
|
||||
|
||||
2
db.py
2
db.py
@@ -4,7 +4,7 @@ from app import create_app, db
|
||||
from credstash import getAllSecrets
|
||||
import os
|
||||
|
||||
default_env_file = '/home/notify-app/environment'
|
||||
default_env_file = '/home/ubuntu/environment'
|
||||
environment = 'live'
|
||||
|
||||
if os.path.isfile(default_env_file):
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "Chown application to be owned by notify-api"
|
||||
cd /home/notify-app/;
|
||||
chown -R notify-app:govuk-notify-applications notifications-api
|
||||
echo "Chown application to be owned by ubuntu"
|
||||
cd /home/ubuntu/;
|
||||
chown -R ubuntu:ubuntu notifications-api
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
echo "Install dependencies"
|
||||
cd /home/notify-app/notifications-api;
|
||||
pip3 install -r /home/notify-app/notifications-api/requirements.txt
|
||||
cd /home/ubuntu/notifications-api;
|
||||
pip3 install -r /home/ubuntu/notifications-api/requirements.txt
|
||||
python3 db.py db upgrade
|
||||
|
||||
Reference in New Issue
Block a user