mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
Ensured credstash is located only with the wsgi/gunicorn code.
This commit is contained in:
5
db.py
5
db.py
@@ -1,8 +1,11 @@
|
||||
from flask.ext.script import Manager, Server
|
||||
from flask_migrate import Migrate, MigrateCommand
|
||||
from app import create_app, db
|
||||
from credstash import getAllSecrets
|
||||
|
||||
application = create_app('live')
|
||||
secrets = getAllSecrets(region="eu-west-1")
|
||||
|
||||
application = create_app('live', secrets)
|
||||
|
||||
manager = Manager(application)
|
||||
migrate = Migrate(application, db)
|
||||
|
||||
Reference in New Issue
Block a user