Exemplo n.º 1
0
#from totestawsdeploy import app
from runserver import app
if __name__ == '__main__':
    app.run()
Exemplo n.º 2
0
from runserver import app

if __name__ == "__main__":
    app.run()
Exemplo n.º 3
0
def run():
    port = int(os.environ.get('PORT', 8080))
    app.run(host='0.0.0.0', port=port)
Exemplo n.º 4
0
# -*- coding: utf-8 -*-

from runserver import app as application

if __name__ == '__main__':
    application.run()
Exemplo n.º 5
0
from runserver import app

# default app bootstrap, init the flask server
app.secret_key = "super_secret_key"
app.run(host="0.0.0.0", port=5000)
Exemplo n.º 6
0
from runserver import app
# default app bootstrap, init the flask server
app.secret_key = 'super_secret_key'
app.run(host='0.0.0.0', port=5000)
Exemplo n.º 7
0
def run():
    return app.run()