Exemple #1
0
def serve():
    print('Application running in ' + app.config['ENV'] + ' mode')
    app.run(host='0.0.0.0',
            port=8080,
            debug=app.config['ENV'] == 'development')
Exemple #2
0
from App.main import app

if __name__ == "__main__":
    app.run()