mirror of
https://github.com/evennia/evennia.git
synced 2026-03-18 22:06:30 +01:00
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.
16 lines
No EOL
771 B
Batchfile
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 |