diff options
Diffstat (limited to 'localsettingsserver.py')
-rw-r--r-- | localsettingsserver.py | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/localsettingsserver.py b/localsettingsserver.py index f60decb..0ac8fed 100644 --- a/localsettingsserver.py +++ b/localsettingsserver.py @@ -1,6 +1,4 @@ import sys -sys.path.append("/home/expo/troggle") - # This is an example file. Copy it to localsettings.py, set the # password and _don't_ check that file back to the repo as it exposes # your/our password to the world! @@ -22,36 +20,35 @@ sys.path.append(REPOS_ROOT_PATH + 'troggle') PUBLIC_SITE = True -SURVEX_DATA = '/home/expo/loser/' -TUNNEL_DATA = '/home/expo/tunneldata/' +SURVEX_DATA = REPOS_ROOT_PATH + 'loser/' +TUNNEL_DATA = REPOS_ROOT_PATH + 'tunneldata/' CAVERN = 'cavern' THREEDTOPOS = '3dtopos' -EXPOWEB = '/home/expo/expoweb/' -SURVEYS = '/home/expo/' -SURVEY_SCANS = '/home/expo/expoimages/' -FILES = '/home/expo/expoimages' - -EXPOWEB_URL = 'http://expo.survex.com/' +EXPOWEB = REPOS_ROOT_PATH + 'expoweb/' +SURVEYS = REPOS_ROOT_PATH +SURVEY_SCANS = REPOS_ROOT_PATH + 'expoimages/' +FILES = REPOS_ROOT_PATH + 'expoimages' -SURVEYS_URL = 'http://expo.survex.com/survey_scans/' -PYTHON_PATH = '/home/expo/troggle/' +PYTHON_PATH = REPOS_ROOT_PATH + 'troggle/' -#URL_ROOT = "http://troggle.cavingexpedition.com/" URL_ROOT = "http://expo.survex.com/" DIR_ROOT = ''#this should end in / if a value is given - +EXPOWEB_URL = 'http://expo.survex.com/' +SURVEYS_URL = 'http://expo.survex.com/survey_scans/' MEDIA_URL = URL_ROOT + DIR_ROOT + 'site_media/' -MEDIA_ROOT = '/home/expo/troggle/media/' -MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/' +MEDIA_ROOT = REPOS_ROOT_PATH + '/troggle/media/' +MEDIA_ADMIN_DIR = '/usr/lib/python2.7/site-packages/django/contrib/admin/media/' + +JSLIB_PATH = /usr/share/javascript/ TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/' TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + 'tinymce_media/' TEMPLATE_DIRS = ( - "/home/expo/troggle/templates", + 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. |