Exemplo n.º 1
0
from app_package import app

app.run(host=app.config['HOST'] , port=app.config['PORT'] , debug=app.config['DEBUG'])
Exemplo n.º 2
0
from app_package import app

if __name__ == '__main__':
    app.run(debug=True)
    
Exemplo n.º 3
0
from app_package import app


host = app.config['HOST']
port = app.config['PORT']
debug = app.config['DEBUG']

if __name__ == '__main__':
	app.run(host=host ,port=port , debug=debug)
Exemplo n.º 4
0
from app_package import app

host_ = app.config['HOST']
port_= app.config['PORT']
debug_= app.config['DEBUG']
if __name__ == '__main__':
	app.run(host=host_ , port=port_ , debug=debug_)
Exemplo n.º 5
0
from app_package import app

host = app.config['HOST']
port = app.config['PORT']
debug = app.config['DEBUG']

if __name__ == '__main__':
    app.run(host=host, port=port, debug=debug)
Exemplo n.º 6
0
# This is a top-level script that defines which flask app you want to run
from app_package import app

import sys
import os

if __name__ == '__main__':
    host = os.environ.get('HOST', '0.0.0.0')
    app.run(host=host)
Exemplo n.º 7
0
from app_package import app

host_ = app.config['HOST']
port_ = app.config['PORT']
debug_ = app.config['DEBUG']
if __name__ == '__main__':
    app.run(host=host_, port=port_, debug=debug_)