Update config

Source the configuration from an environment file, this way it is similar to how the aws environment works
This commit is contained in:
Rebecca Law
2016-02-16 15:25:46 +00:00
parent 7ff5f6c45a
commit 08ba5de61b
13 changed files with 69 additions and 132 deletions

12
environment_test.sh Normal file
View File

@@ -0,0 +1,12 @@
export NOTIFY_API_ENVIRONMENT='config.Test'
export ADMIN_CLIENT_USER_NAME='dev-notify-admin'
export ADMIN_CLIENT_SECRET='dev-notify-secret-key'
export AWS_REGION='eu-west-1'
export DANGEROUS_SALT='dangerous-salt'
export DELIVERY_CLIENT_USER_NAME='dev-notify-delivery'
export DELIVERY_CLIENT_SECRET='dev-notify-secret-key'
export NOTIFY_JOB_QUEUE='notify-jobs-queue-test'
export NOTIFICATION_QUEUE_PREFIX='notification_development-test'
export SECRET_KEY='secret-key'
export SQLALCHEMY_DATABASE_URI='postgresql://localhost/test_notification_api'