Ejemplo n.º 1
0
from bucketlist import app

app.run(debug=app.config['DEBUG'])
Ejemplo n.º 2
0
from bucketlist import app

if __name__ == '__main__':
    app.run(host='0.0.0.0')
Ejemplo n.º 3
0
from bucketlist import app

if __name__ == '__main__':
    app.run(debug=True)
Ejemplo n.º 4
0
"""
This script runs the bucketlist application using a development server.
"""

from os import environ
from bucketlist import app

if __name__ == '__main__':
    HOST = environ.get('SERVER_HOST', 'localhost')
    try:
        PORT = int(environ.get('SERVER_PORT', '5555'))
    except ValueError:
        PORT = 5555
    app.run(HOST, PORT)
from bucketlist import app

if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0')
Ejemplo n.º 6
0
# Entry point to application

from bucketlist import app

if __name__ == '__main__':
    app.run()