summaryrefslogtreecommitdiffstats
path: root/localsettingsdocker.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-05-03 22:47:57 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-05-03 22:47:57 +0100
commit8ad791c594c478eb08b346f2efefc9adb7e72246 (patch)
tree9aa4d3d717b8776adb78e106ad77ca474a162e14 /localsettingsdocker.py
parente6adced39d08e2719fb000f5ce5fa89f395547fc (diff)
downloadtroggle-8ad791c594c478eb08b346f2efefc9adb7e72246.tar.gz
troggle-8ad791c594c478eb08b346f2efefc9adb7e72246.tar.bz2
troggle-8ad791c594c478eb08b346f2efefc9adb7e72246.zip
rearranged config files
Diffstat (limited to 'localsettingsdocker.py')
-rw-r--r--localsettingsdocker.py65
1 files changed, 0 insertions, 65 deletions
diff --git a/localsettingsdocker.py b/localsettingsdocker.py
deleted file mode 100644
index 76cca3d..0000000
--- a/localsettingsdocker.py
+++ /dev/null
@@ -1,65 +0,0 @@
-import sys
-# This is the local settings for use with the docker compose dev setup. It is imported automatically
-
-DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.mysql', # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME' : 'troggle', # Or path to database file if using sqlite3.
- 'USER' : 'troggleuser', # Not used with sqlite3.
- 'PASSWORD' : 'expo123', # Not used with sqlite3.
- 'HOST' : 'expo-mysql', # Set to empty string for localhost. Not used with sqlite3.
- 'PORT' : '', # Set to empty string for default. Not used with sqlite3.
- }
-}
-
-EXPOUSER = 'expo'
-EXPOUSERPASS = "nnn:gggggg"
-EXPOUSER_EMAIL = 'wookey@wookware.org'
-
-REPOS_ROOT_PATH = '/expo/'
-sys.path.append(REPOS_ROOT_PATH)
-sys.path.append(REPOS_ROOT_PATH + 'troggle')
-
-PUBLIC_SITE = False
-
-SURVEX_DATA = REPOS_ROOT_PATH + 'loser/'
-DRAWINGS_DATA = REPOS_ROOT_PATH + 'drawings/'
-
-CAVERN = 'cavern'
-THREEDTOPOS = '3dtopos'
-EXPOWEB = REPOS_ROOT_PATH + 'expoweb/'
-SURVEYS = REPOS_ROOT_PATH
-SURVEY_SCANS = REPOS_ROOT_PATH + 'expofiles/'
-FILES = REPOS_ROOT_PATH + 'expofiles'
-
-CACHEDIR = REPOS_ROOT_PATH + 'expowebcache/'
-THREEDCACHEDIR = CACHEDIR + '3d/'
-THUMBNAILCACHE = CACHEDIR + 'thumbs'
-
-PYTHON_PATH = REPOS_ROOT_PATH + 'troggle/'
-
-URL_ROOT = 'http://127.0.0.1:8000/'
-DIR_ROOT = ''#this should end in / if a value is given
-EXPOWEB_URL = '/'
-SURVEYS_URL = '/survey_scans/'
-
-MEDIA_URL = URL_ROOT + DIR_ROOT + 'site_media/'
-MEDIA_ROOT = REPOS_ROOT_PATH + '/troggle/media/'
-MEDIA_ADMIN_DIR = '/usr/lib/python2.7/site-packages/django/contrib/admin/media/'
-
-STATIC_URL = "/static/"
-STATIC_ROOT = "/expo/static"
-
-JSLIB_URL = URL_ROOT + 'javascript/'
-
-TINY_MCE_MEDIA_ROOT = STATIC_ROOT + '/tiny_mce/'
-TINY_MCE_MEDIA_URL = STATIC_ROOT + '/tiny_mce/'
-
-TEMPLATE_DIRS = (
- PYTHON_PATH + "templates",
- # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
- # Always use forward slashes, even on Windows.
- # Don't forget to use absolute paths, not relative paths.
-)
-
-LOGFILE = PYTHON_PATH + 'troggle_log.txt'