AWS codedeploy start / stop scripts (upstart) and wsgi start script

This commit is contained in:
Martyn Inglis
2015-12-03 09:38:02 +00:00
parent b1cad3f8f8
commit 0977877dcd
3 changed files with 17 additions and 0 deletions

7
wsgi.py Normal file
View File

@@ -0,0 +1,7 @@
from app import create_app
import os
application = create_app(os.getenv('NOTIFICATIONS_ADMIN_ENVIRONMENT') or 'development')
if __name__ == "__main__":
application.run()