summaryrefslogtreecommitdiffstats
path: root/localsettings WSL.py
diff options
context:
space:
mode:
Diffstat (limited to 'localsettings WSL.py')
-rw-r--r--localsettings WSL.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/localsettings WSL.py b/localsettings WSL.py
index 7cfc3f5..2144d64 100644
--- a/localsettings WSL.py
+++ b/localsettings WSL.py
@@ -5,7 +5,7 @@ import sys
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3', # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME' : 'troggle', # Or path to database file if using sqlite3.
+ 'NAME' : 'troggle.sqlite', # Or path to database file if using sqlite3.
'USER' : 'expo', # Not used with sqlite3.
'PASSWORD' : 'sekrit', # Not used with sqlite3.
'HOST' : '', # Set to empty string for localhost. Not used with sqlite3.
@@ -17,6 +17,12 @@ EXPOUSER = 'expo'
EXPOUSERPASS = 'nnn:ggggggr'
EXPOUSER_EMAIL = 'philip.sargent@gmail.com'
+
+
+
+
+
+
REPOS_ROOT_PATH = '/mnt/d/CUCC-Expo/'
sys.path.append(REPOS_ROOT_PATH)
@@ -37,13 +43,13 @@ SURVEY_SCANS = '/mnt/f/expofiles/'
#FILES = REPOS_ROOT_PATH + 'expofiles'
FILES = '/mnt/f/expofiles'
-EXPOWEB_URL = REPOS_ROOT_PATH + 'expoweb/'
+EXPOWEB_URL = ''
SURVEYS_URL = '/survey_scans/'
PYTHON_PATH = REPOS_ROOT_PATH + 'troggle/'
-#URL_ROOT = 'http://127.0.0.1:8000/'
-URL_ROOT = "/mnt/f/expofiles/"
+URL_ROOT = 'http://127.0.0.1:8000/'
+#URL_ROOT = "/mnt/d/CUCC-Expo/expoweb/"
DIR_ROOT = ''#this should end in / if a value is given
@@ -51,7 +57,7 @@ DIR_ROOT = ''#this should end in / if a value is given
#MEDIA_URL = URL_ROOT + DIR_ROOT + '/site_media/'
MEDIA_URL = '/site_media/'
-MEDIA_ROOT = REPOS_ROOT_PATH + '/troggle/media/'
+MEDIA_ROOT = REPOS_ROOT_PATH + 'troggle/media/'
MEDIA_ADMIN_DIR = '/usr/lib/python2.7/site-packages/django/contrib/admin/media/'
STATIC_URL = URL_ROOT + 'static/'