1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-13 00:28:10 -05:00

add game log server

This commit is contained in:
RaidMax
2018-09-06 13:25:58 -05:00
parent 85f910272a
commit 8a721bb53a
23 changed files with 362 additions and 71 deletions

View File

@ -0,0 +1,15 @@
"""
This script runs the GameLogServer application using a development server.
"""
from os import environ
from GameLogServer.server import app, init
if __name__ == '__main__':
HOST = environ.get('SERVER_HOST', '0.0.0.0')
try:
PORT = int(environ.get('SERVER_PORT', '1625'))
except ValueError:
PORT = 5555
init()
app.run(HOST, PORT, debug=True)