예제 #1
0
파일: main.py 프로젝트: A3AJAGBE/jg-store
from store import app

if __name__ == '__main__':
    app.run()
예제 #2
0
파일: runserver.py 프로젝트: kostausa/store
# 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)