forked from tcd-tophat/TopHatQrzarPlatform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
executable file
·54 lines (37 loc) · 851 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
SSLKeyPath= 'keys/tophat.key'
SSLCertPath= 'keys/tophat.crt'
SSLCAPath = 'keys/ca.crt'
Port=8880
Interface='0.0.0.0'
User='tophat'
Group='tophat'
Threads=6
PIDFile = 'tophat.pid'
#EncryptionMethod=SSLEncryption
LogFile='/var/log/tophat/tophat.log'
DBDriver='MySQL'
MySQLHost='localhost'
MySQLUser='tophat'
MySQLPass='password'
MySQLDatabase='tophat'
resources = [
('/apitokens/', "Apitokens"),
('/users/', "Users"),
('/jsontest/', "Jsontest"),
('/', 'Version'),
('/version/', "Version"),
('/games/', "Games"),
('/kills/', "Kills"),
('/players/', "Players"),
('/alive/', "Alive"),
('/teamscore/', "TeamScore"),
('/teams/', "Teams")
]
from Networking.Protocols.Cherrypy import Protocol
Version='0.1.2'
GameVersion='0.1'
ServerTitle='TopHat QRzar Testing Server'
try:
from local_config import *
except ImportError:
pass