Ejemplo n.º 1
0
from store import app

if __name__ == '__main__':
    app.run()
Ejemplo n.º 2
0
# development standalone server

from store import app
app.run(debug=True)
Ejemplo n.º 3
0
# Import the app object from the gradedisplay package
from store import app

# If running this file, we continue
if __name__ == '__main__':
    # The code that 'runs' the app, set the host to the machine it is running on, also turn off debug mode which is actually the default, so this is kind of unnecessary
    app.run(host='0.0.0.0', debug=False)
Ejemplo n.º 4
0
'''
Import appen, og start serveren hvis __name__ == "__main__"
host='0.0.0.0' betyder alle åbne porte
'''

from store import app

if __name__ == '__main__':
	app.run(debug=True, host='0.0.0.0')
Ejemplo n.º 5
0
from store import app

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