mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 10:53:28 -05:00
13 lines
359 B
Python
13 lines
359 B
Python
from flask.ext.script import Manager, Server
|
|
from flask_migrate import Migrate, MigrateCommand
|
|
from app import create_app, db
|
|
from credstash import getAllSecrets
|
|
|
|
secrets = getAllSecrets(region="eu-west-1")
|
|
|
|
application = create_app('live', secrets)
|
|
|
|
manager = Manager(application)
|
|
migrate = Migrate(application, db)
|
|
manager.add_command('db', MigrateCommand)
|