Beispiel #1
0
#!flask/bin/python
from home import app

app.run(debug=True)
Beispiel #2
0
#!venv/bin/python

from home import app

app.run(debug=True)
Beispiel #3
0
#! /usr/bin/env python

from home import app
app.debug = True

app.run(host='0.0.0.0')
Beispiel #4
0
from home import app

if __name__ == "__main__":
    app.run()
Beispiel #5
0
from home import app
if __name__=="__main__":
    app.run(host='0.0.0.0', port=88)
Beispiel #6
0
"""
This script runs the home application using a development server.
"""

from os import environ
from home import app

if __name__ == '__main__':
    HOST = environ.get('SERVER_HOST', 'localhost')
    try:
        PORT = int(environ.get('SERVER_PORT', '8000'))
    except ValueError:
        PORT = 8000
    app.run(HOST, PORT)
Beispiel #7
0
from home import app

if __name__ == "__main__":
    app.run(debug=True, port=5000)
Beispiel #8
0
#!venv/bin/python
from home import app

if __name__ == "__main__":
    app.run()
Beispiel #9
0
# -*- coding: utf-8 -*-

from home import app

if __name__ == "__main__":
    app.run('0.0.0.0', 8880, debug=True)
Beispiel #10
0
# -*- coding: utf-8 -*-
"""
 url: https://github.com/KeonHeeLee/flask-web-scheduler
 email: [email protected]
"""

from home import app

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