Skip to content
Snippets Groups Projects
Commit 18e423cc authored by Felix Chadwick-Smith's avatar Felix Chadwick-Smith
Browse files

altered to run flask development server

parent a5520b4b
No related branches found
No related tags found
1 merge request!9altered to run flask development server
import os
import sys
import logging
from app import app as application
from markupsafe import Markup
# Make sure to import os
import sys
import logging
sys.modules['flask'].Markup = Markup
logging.basicConfig(stream=sys.stderr)
# Use if __name__ == '__main__': to run the Flask development server
if __name__ == '__main__':
application.run(host='0.0.0.0', port=int(os.environ.get('PORT', 8080)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment