def serve(): print('Application running in ' + app.config['ENV'] + ' mode') app.run(host='0.0.0.0', port=8080, debug=app.config['ENV'] == 'development')
from App.main import app if __name__ == "__main__": app.run()