summaryrefslogtreecommitdiffstats
path: root/_deploy
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2025-01-17 00:19:05 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2025-01-17 00:19:05 +0000
commit1a044759c61bbd1b86627d4a56cc17c12b72797a (patch)
tree6a7212432e859014ffd2639b400f0de321722613 /_deploy
parenta6a0db3c8fba153fd6cd83220f4325bd86aa9635 (diff)
downloadtroggle-1a044759c61bbd1b86627d4a56cc17c12b72797a.tar.gz
troggle-1a044759c61bbd1b86627d4a56cc17c12b72797a.tar.bz2
troggle-1a044759c61bbd1b86627d4a56cc17c12b72797a.zip
tidying
Diffstat (limited to '_deploy')
-rw-r--r--_deploy/debian-server/credentials.py2
-rw-r--r--_deploy/debian-server/localsettings-expo-live.py9
2 files changed, 8 insertions, 3 deletions
diff --git a/_deploy/debian-server/credentials.py b/_deploy/debian-server/credentials.py
index 2f856ed..4892a5d 100644
--- a/_deploy/debian-server/credentials.py
+++ b/_deploy/debian-server/credentials.py
@@ -3,7 +3,7 @@ EXPOUSER = 'expo'
EXPOADMINUSER = 'expoadmin'
EXPOUSER_EMAIL = 'wookey@wookware.org'
EXPOADMINUSER_EMAIL = 'wookey@wookware.org'
-import secret_credentials.py
+from secret_credentials import *
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
diff --git a/_deploy/debian-server/localsettings-expo-live.py b/_deploy/debian-server/localsettings-expo-live.py
index 0ed5ff1..9132548 100644
--- a/_deploy/debian-server/localsettings-expo-live.py
+++ b/_deploy/debian-server/localsettings-expo-live.py
@@ -33,6 +33,11 @@ EMAIL_HOST_USER = "django-test@klebos.net" # Philip Sargent really
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = "django-test@klebos.net"
+# -----------------------------------------------------------------
+# THINK before you push this to a repo
+# - have you checked that secret_credentials.py is in .gitignore ?
+# - we don't want to have to change the expo system password !
+# -----------------------------------------------------------------
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
@@ -157,8 +162,8 @@ JSLIB_URL = Path(URL_ROOT, "/javascript/") # used for CaveViewer JS utility
#TINY_MCE_MEDIA_ROOT = STATIC_ROOT + '/tiny_mce/' # not needed while TinyMCE not installed
#TINY_MCE_MEDIA_URL = STATIC_URL + '/tiny_mce/' # not needed while TinyMCE not installed
-LOGFILE = '/var/log/troggle/troggle.log'
-IMPORTLOGFILE = '/var/log/troggle/import.log'
+LOGFILE = '/var/log/troggle/troggle.log' # hmm. Not used since 2022
+IMPORTLOGFILE = '/var/log/troggle/import.log' # hmm. Not used since 2022
# Sanitise these to be strings as Django seems to be particularly sensitive to crashing if they aren't
#STATIC_URL = str(STATIC_URL) + "/"