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