initial commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"""
|
||||
This script runs the FlaskWebProject1 application using a development server.
|
||||
"""
|
||||
|
||||
from os import environ
|
||||
from FlaskWebProject1 import app
|
||||
|
||||
if __name__ == '__main__':
|
||||
HOST = environ.get('SERVER_HOST', '0.0.0.0')
|
||||
try:
|
||||
PORT = int(environ.get('SERVER_PORT', '5555'))
|
||||
except ValueError:
|
||||
PORT = 5555
|
||||
app.run(HOST, PORT)
|
||||
Reference in New Issue
Block a user