Making comments consistent across both Windows and Linux/Unix startup scripts. Added some elaboration about Twisted Command Prompt in startup.bat.
This commit is contained in:
parent
e3c58aeb6d
commit
90cdc6573d
2 changed files with 11 additions and 2 deletions
11
startup.bat
11
startup.bat
|
|
@ -1,7 +1,16 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
rem ------------------------------------------------------------------------
|
||||||
|
rem WINDOWS STARTUP SCRIPT
|
||||||
|
rem NOTE: This _MUST_ be launched with the Twisted environment variables
|
||||||
|
rem set. It is recommended that you launch Twisted Command Prompt to do so.
|
||||||
|
rem ------------------------------------------------------------------------
|
||||||
|
|
||||||
set DJANGO_SETTINGS_MODULE=settings
|
set DJANGO_SETTINGS_MODULE=settings
|
||||||
set PYTHONPATH=.
|
set PYTHONPATH=.
|
||||||
echo Starting Evennia...
|
echo Starting Evennia...
|
||||||
|
|
||||||
rem We're only going to run in interactive mode until we've had more time to make sure things work as expected on Windows.
|
rem ------------------------------------------------------------------------
|
||||||
|
rem We're only going to run in interactive mode until we've had more time to
|
||||||
|
rem make sure things work as expected on Windows.
|
||||||
|
rem ------------------------------------------------------------------------
|
||||||
twistd -oy --logfile=- --python=src/server.py
|
twistd -oy --logfile=- --python=src/server.py
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# SERVER STARTUP SCRIPT
|
# LINUX/UNIX SERVER STARTUP SCRIPT
|
||||||
# Sets the appropriate environmental variables and launches the server
|
# Sets the appropriate environmental variables and launches the server
|
||||||
# process. Run without flags for daemon mode.
|
# process. Run without flags for daemon mode.
|
||||||
# It can be used for stoping the server.
|
# It can be used for stoping the server.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue