summaryrefslogtreecommitdiffstats
path: root/localsettingsWSL.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-03-26 13:51:00 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2021-03-26 13:51:00 +0000
commitf5e799d632dc022f6c3fd53745ea2b724601ab15 (patch)
tree3119c1603f66a00814885c0cc3d1de4f82dfc321 /localsettingsWSL.py
parent2e068d3fbb8ded157f532f70176537b6a7967b1c (diff)
downloadtroggle-f5e799d632dc022f6c3fd53745ea2b724601ab15.tar.gz
troggle-f5e799d632dc022f6c3fd53745ea2b724601ab15.tar.bz2
troggle-f5e799d632dc022f6c3fd53745ea2b724601ab15.zip
new remote expofiles option
Diffstat (limited to 'localsettingsWSL.py')
-rw-r--r--localsettingsWSL.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/localsettingsWSL.py b/localsettingsWSL.py
index d9b7d47..4296be4 100644
--- a/localsettingsWSL.py
+++ b/localsettingsWSL.py
@@ -26,7 +26,9 @@ print(" * importing troggle/localsettings.py")
#-----------------------------------------------------------------
SERVERPORT = '8000'
+EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote sever
#SECURE_SSL_REDIRECT = True # breaks 7 tests in test suite 301 not 200 (or 302) and runserver fails completely
+
# --------------------- MEDIA redirections BEGIN ---------------------
#REPOS_ROOT_PATH = '/mnt/d/CUCC-Expo/t37/'
REPOS_ROOT_PATH = Path(__file__).parent.parent
@@ -65,8 +67,8 @@ PUBLIC_SITE = True
DEBUG = True # Always keep this True, even when on public server. Otherwise NO USEFUL ERROR MESSAGES !
# executables:
-CAVERN = 'cavern'
-SURVEXPORT = 'survexport'
+CAVERN = 'cavern' # for parsing .svx files and producing .3d files
+SURVEXPORT = 'survexport' # for parsing .3d files and producing .pos files
DATABASES = {
'default': {
@@ -141,7 +143,7 @@ SURVEYS_URL = '/survey_scans/'
EXPOFILES ='/mnt/f/expofiles/'
# Sanitise these to be strings as all other code is expecting strings
-# and we have not made the chnage to pathlib Path type in the other localsettings-* variants yet.
+# and we have not made the change to pathlib Path type in the other localsettings-* variants yet.
CAVEDESCRIPTIONS = os.fspath(CAVEDESCRIPTIONS)
ENTRANCEDESCRIPTIONS = os.fspath(ENTRANCEDESCRIPTIONS)
LOGFILE = os.fspath(LOGFILE)