Пример #1
0
from app_package import app

app.run(host=app.config['HOST'] , port=app.config['PORT'] , debug=app.config['DEBUG'])
Пример #2
0
from app_package import app

if __name__ == '__main__':
    app.run(debug=True)
    
Пример #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)
Пример #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_)
Пример #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)
Пример #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)
Пример #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_)