import os
from blog.app import app

if __name__ == '__main__':
    port = int(os.environ.get('PORT', 5000))
    app.run(host='0.0.0.0', port=port)
示例#2
0
from blog.app import app

if __name__ == '__main__':
    app.run()
示例#3
0
文件: wsgi.py 项目: lobanovjkee/Flask
from blog.app import app

if __name__ == '__main__':
    app.run(debug=True, )
示例#4
0
from blog.app import app

if __name__ == '__main__':
    app.run(
        host='0.0.0.0',
        port=5000,
        debug=True,
    )
示例#5
0
文件: wsgi.py 项目: bad-us/Flask
from blog.app import app

if __name__ == '__main__':
    app.run(
        host='127.0.0.1',
        debug=True,
        port=5000,
    )
示例#6
0
def main():
    app.run(debug=True)
示例#7
0
from blog.app import app

if __name__ == '__main__':
    app.run(debug=True)
示例#8
0
from blog.app import app

if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True)