Esempio n. 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)
Esempio n. 2
0
from blog.app import app

if __name__ == '__main__':
    app.run()
Esempio n. 3
0
from blog.app import app

if __name__ == '__main__':
    app.run(debug=True, )
Esempio n. 4
0
from blog.app import app

if __name__ == '__main__':
    app.run(
        host='0.0.0.0',
        port=5000,
        debug=True,
    )
Esempio n. 5
0
File: wsgi.py Progetto: bad-us/Flask
from blog.app import app

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

if __name__ == '__main__':
    app.run(debug=True)
Esempio n. 8
0
from blog.app import app

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