evennia/game/startup.bat
Greg Taylor 01db5700e8 More re-arranging to make things more closely resemble MUX/MUSH directory structure. Reason we're doing this is to begin the emergence of a separation of server code from game-specific stuff (called a driver by some codebases like LPMud).
Ideally game developers don't touch the server code, they just play within the game directory, which will contain all of their script parents and stuff.

NOTE: I may have broken the Linux/Unix start script. I am not able to boot back into Linux at the moment due to some testing going on, so if anyone could take a moment to tell me one way or another, I'd appreciate it.

NOTE: You'll need to move your evennia.db3 file into the game directory if you're using sqlite.
2008-12-15 03:37:30 +00:00

16 lines
No EOL
771 B
Batchfile

@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=game.settings
set PYTHONPATH=..
echo Starting Evennia...
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