Change default ports and add clearer default to gamedir template, as per #1365.
This commit is contained in:
parent
6c8101355d
commit
8cad0dc02e
7 changed files with 67 additions and 44 deletions
|
|
@ -528,7 +528,7 @@ def create_settings_file(init=True, secret_settings=False):
|
|||
settings_path = os.path.join(GAMEDIR, "server", "conf", "settings.py")
|
||||
setting_dict = {
|
||||
"settings_default": os.path.join(EVENNIA_LIB, "settings_default.py"),
|
||||
"servername": "\"%s\"" % GAMEDIR.rsplit(os.path.sep, 1)[1].capitalize(),
|
||||
"servername": "\"%s\"" % GAMEDIR.rsplit(os.path.sep, 1)[1],
|
||||
"secret_key": "\'%s\'" % create_secret_key()}
|
||||
|
||||
if not init:
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ AJAX/COMET fallback webclient
|
|||
The AJAX/COMET web client consists of two components running on
|
||||
twisted and django. They are both a part of the Evennia website url
|
||||
tree (so the testing website might be located on
|
||||
http://localhost:8000/, whereas the webclient can be found on
|
||||
http://localhost:8000/webclient.)
|
||||
http://localhost:4001/, whereas the webclient can be found on
|
||||
http://localhost:4001/webclient.)
|
||||
|
||||
/webclient - this url is handled through django's template
|
||||
system and serves the html page for the client
|
||||
|
|
@ -33,7 +33,7 @@ from evennia.server import session
|
|||
_CLIENT_SESSIONS = utils.mod_import(settings.SESSION_ENGINE).SessionStore
|
||||
_RE_SCREENREADER_REGEX = re.compile(r"%s" % settings.SCREENREADER_REGEX_STRIP, re.DOTALL + re.MULTILINE)
|
||||
_SERVERNAME = settings.SERVERNAME
|
||||
_KEEPALIVE = 30 # how often to check keepalive
|
||||
_KEEPALIVE = 30 # how often to check keepalive
|
||||
|
||||
# defining a simple json encoder for returning
|
||||
# django data to the client. Might need to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue