mirror of
https://github.com/evennia/evennia.git
synced 2026-03-18 05:46:31 +01:00
Two patches, courtesy of Ari:
* The startup script (evennia.py) will now take your PYTHONPATH environmental variable into account when starting. This may resolve potential issues with Twisted on Windows with certain combinations of Python. * The INSTALL file still referred to startup.bat, which is now gone in favor of evennia.py. Thanks Ari!
This commit is contained in:
parent
ddfd479ba9
commit
05791b3593
2 changed files with 8 additions and 4 deletions
6
INSTALL
6
INSTALL
|
|
@ -31,7 +31,7 @@ in development, we'll make sure to update this. But for the really determined
|
|||
* If you want to use anything other than the default SQLite setup, copy and
|
||||
modify the DATABASE_* variables from src/config_defaults.py.
|
||||
* Run 'python manage.py syncdb'
|
||||
* Run startup.sh or startup.bat depending on whether you're on Linux/Unix or
|
||||
Windows. This will start the MU* server on port 4000 by default. You may
|
||||
change this via the web interface or by editing the config table in SQL.
|
||||
* Run 'python evennia.py start'. This will start the MU* server on port 4000
|
||||
by default. You may change this via the web interface or by editing the
|
||||
config table in SQL.
|
||||
* Login with the email address and password you provided to the syncdb script.
|
||||
|
|
|
|||
|
|
@ -35,7 +35,11 @@ else:
|
|||
TWISTED_BINARY = 'twistd'
|
||||
|
||||
# Add this to the environmental variable for the 'twistd' command.
|
||||
os.environ['PYTHONPATH'] = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
tmppath = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
if 'PYTHONPATH' in os.environ:
|
||||
os.environ['PYTHONPATH'] += (":%s" % tmppath)
|
||||
else:
|
||||
os.environ['PYTHONPATH'] = tmppath
|
||||
|
||||
def cycle_logfile():
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue