mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 16:44:08 +02:00
Re-designed the startup script to be more cross platform and robust.
This commit is contained in:
parent
4cb2617324
commit
abe17a2965
3 changed files with 109 additions and 62 deletions
|
|
@ -33,6 +33,13 @@ BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|||
# Path to the game directory (containing the database file if using sqlite).
|
||||
GAME_DIR = os.path.join(BASE_PATH, 'game')
|
||||
|
||||
# Logging paths
|
||||
LOG_DIR = os.path.join(GAME_DIR, 'logs')
|
||||
DEFAULT_LOG_FILE = os.path.join(LOG_DIR, 'evennia.log')
|
||||
|
||||
# Path to the src directory containing the bulk of the codebase's code.
|
||||
SRC_DIR = os.path.join(BASE_PATH, 'src')
|
||||
|
||||
# Absolute path to the directory that holds media (no trailing slash).
|
||||
# Example: "/home/media/media.lawrence.com"
|
||||
MEDIA_ROOT = os.path.join(GAME_DIR, 'web', 'media')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue