summaryrefslogtreecommitdiffstats
path: root/_deploy/wsl/localsettingsWSL.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2024-12-20 16:03:28 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2024-12-20 16:03:28 +0000
commit1b6333fdefe9331ea4489248de51ce55552c732c (patch)
tree447e6081c90ddc24b0c29f28040bc72c724f8615 /_deploy/wsl/localsettingsWSL.py
parent011e6777c9cf092bdcb8b5d9bfda8a0b86c69236 (diff)
downloadtroggle-1b6333fdefe9331ea4489248de51ce55552c732c.tar.gz
troggle-1b6333fdefe9331ea4489248de51ce55552c732c.tar.bz2
troggle-1b6333fdefe9331ea4489248de51ce55552c732c.zip
fixing setup scripts for a new Ubuntu 24.04 install
Diffstat (limited to '_deploy/wsl/localsettingsWSL.py')
-rw-r--r--_deploy/wsl/localsettingsWSL.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/_deploy/wsl/localsettingsWSL.py b/_deploy/wsl/localsettingsWSL.py
index 5bc647e..512ad47 100644
--- a/_deploy/wsl/localsettingsWSL.py
+++ b/_deploy/wsl/localsettingsWSL.py
@@ -25,19 +25,17 @@ print(" * importing troggle/localsettings.py")
# - have you checked that credentials.py is in .gitignore ?
# - we don't want to have to change the expo system password !
# -----------------------------------------------------------------
-# default values, real secrets will be imported from credentials.py in future
+# default values, real secrets imported from credentials.py
SECRET_KEY = "real-SECRET_KEY--imported-from-localsettings.py"
EXPOUSERPASS = "nnn:gggggg - real-expo-password---imported-from-localsettings.py"
EXPOADMINUSERPASS = "gggggg:nnn - real-expo-password---imported-from-localsettings.py"
EMAIL_HOST_PASSWORD = "real-email-password---imported-from-localsettings.py"
-SQLITEFILE = "/home/philip/expo/troggle.sqlite" # can be ':memory:'
-
-PHOTOSREMOTE = False # if True, then re-routes urls in expofiles/photos to remote server. Not implemented yet
-EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote server. Tests are then less accurate.
+EXPOFILESREMOTE = False # if True, then re-routes urls in expofiles to remote sever. Tests are then less accurate.
# SECURE_SSL_REDIRECT = True # breaks 7 tests in test suite 301 not 200 (or 302) and runserver fails completely
-SERVERPORT = "8000" # not needed as it is the default
+
+SERVERPORT = "8000" # not needed
PV = "python" + str(sys.version_info.major) + "." + str(sys.version_info.minor)
@@ -97,7 +95,7 @@ SURVEXPORT = "survexport" # for parsing .3d files and producing .pos files
DBSQLITE = {
"default": {
"ENGINE": "django.db.backends.sqlite3", # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- "NAME": SQLITEFILE,
+ "NAME": "/home/philip/p12d5/troggle.sqlite",
# 'NAME' : ':memory:',
"USER": "expo", # Not used with sqlite3.
"PASSWORD": "sekrit", # Not used with sqlite3.