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

2
db.py
View File

@@ -5,7 +5,7 @@ from credstash import getAllSecrets
secrets = getAllSecrets(region="eu-west-1")
application = create_app('live', secrets)
application = create_app()
manager = Manager(application)
migrate = Migrate(application, db)