Esempio n. 1
0
from src.app import application, init_app

init_app(application)

if __name__ == '__main__':
    application.debug = True
    #init_app(application)
    application.run(host='0.0.0.0', port=5003)
Esempio n. 2
0
def start(ctx, docs=False):
    _assert_es_running(ctx)
    from src.app import application
    application.run(host="0.0.0.0", port=8080)
Esempio n. 3
0
from src.app import application

if __name__ == "__main__":
    application.run()
Esempio n. 4
0
from src.app import application

if __name__ == '__main__':
    application.run(debug=True, port=5000, host='0.0.0.0')