Compare commits
1 Commits
step35/678
...
fix/16-har
| Author | SHA1 | Date | |
|---|---|---|---|
| ab473f903c |
@@ -9,8 +9,8 @@ and configures the Public channel.
|
||||
Safe to rerun (idempotent).
|
||||
|
||||
Usage:
|
||||
cd /root/workspace/timmy-academy
|
||||
source /root/workspace/evennia-venv/bin/activate
|
||||
cd /path/to/timmy-academy
|
||||
source /path/to/evennia-venv/bin/activate
|
||||
python world/rebuild_world.py
|
||||
"""
|
||||
import os
|
||||
@@ -19,7 +19,7 @@ import re
|
||||
import ast
|
||||
|
||||
os.environ["DJANGO_SETTINGS_MODULE"] = "server.conf.settings"
|
||||
sys.path.insert(0, "/root/workspace/timmy-academy")
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
import django
|
||||
django.setup()
|
||||
|
||||
Reference in New Issue
Block a user