Пример #1
0
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
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
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)