from store import app if __name__ == '__main__': app.run()
# development standalone server from store import app app.run(debug=True)
# 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)
''' 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')
from store import app if __name__ == '__main__': app.run(debug=True)