From cbd47fe2ceadb0b8f081f9fafcb7e27b8477998e Mon Sep 17 00:00:00 2001 From: Martyn Inglis Date: Thu, 17 Dec 2015 11:18:27 +0000 Subject: [PATCH] Export flask config in set up script --- scripts/aws_install_dependencies.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/aws_install_dependencies.sh b/scripts/aws_install_dependencies.sh index 2c1e3b2fd..335f29ebf 100755 --- a/scripts/aws_install_dependencies.sh +++ b/scripts/aws_install_dependencies.sh @@ -3,5 +3,6 @@ echo "Install dependencies" cd /home/ubuntu/notifications-admin; gem install sass; +export FLASK_CONFIG=/home/ubuntu/config.cfg python app.py db upgrade pip install -r /home/ubuntu/notifications-admin/requirements.txt