Files
MSState-Library-ETD/wsgi.py
Aaron Kimbrell 55dea340e4 Docker, wooo!
Can be built and run in docker
2019-04-03 00:05:21 -05:00

16 lines
260 B
Python

from app import create_app
app = create_app()
@app.shell_context_processor
def make_shell_context():
"""Extend the Flask shell context."""
return {'app': app}
if __name__ == '__main__':
with app.app_context():
app.run(host='0.0.0.0')