Ejemplo n.º 1
0
from app_package import app

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

if __name__ == '__main__':
    app.run(debug=True)
    
Ejemplo 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)
Ejemplo 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_)
Ejemplo 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)
Ejemplo 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)
Ejemplo 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_)