Пример #1
0
from store import app

if __name__ == '__main__':
    app.run()
Пример #2
0
# development standalone server

from store import app
app.run(debug=True)
Пример #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)
Пример #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')
Пример #5
0
from store import app

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