diff options
Diffstat (limited to 'localsettingsserver.py')
-rw-r--r-- | localsettingsserver.py | 39 |
1 files changed, 29 insertions, 10 deletions
diff --git a/localsettingsserver.py b/localsettingsserver.py index 4148336..732c091 100644 --- a/localsettingsserver.py +++ b/localsettingsserver.py @@ -1,3 +1,6 @@ +import sys +sys.path.append("/home/expo/troggle") + DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'troggle' # Or path to database file if using sqlite3. DATABASE_USER = 'undemocracy' # Not used with sqlite3. @@ -5,27 +8,43 @@ DATABASE_PASSWORD = 'aiGohsh5' # Not used with sqlite3. DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. -SURVEX_DATA = '/home/mjg/loser/' +SURVEX_DATA = '/home/expo/loser/' CAVERN = 'cavern' -EXPOWEB = '/home/mjg/expoweb/' -SURVEYS = '/home/mjg/surveys/' +EXPOWEB = '/home/expo/expoweb/' +SURVEYS = '/home/expo/' +SURVEY_SCANS = '/home/expo/expoimages/' +FILES = '/home/expo/expoimages' -SURVEYS_URL = 'http://framos.lawoftheland.co.uk/troggle/survey_scans/' -FILES = "http://framos.lawoftheland.co.uk/troggle/survey_files/" +SURVEYS_URL = 'http://troggle.cavingexpedition.com/survey_scans/' SVX_URL = 'http://framos.lawoftheland.co.uk/troggle/survex/' -PYTHON_PATH = '/home/mjg/expoweb/troggle/' +PYTHON_PATH = '/home/expo/troggle/' -MEDIA_URL = 'http://framos.lawoftheland.co.uk/troggle/site_media/' +MEDIA_URL = 'http://troggle.cavingexpedition.com/site_media/' -MEDIA_ROOT = '/home/mjg/expoweb/troggle/media/' +MEDIA_ROOT = '/home/expo/troggle/media/' +MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/' -URL_ROOT = "http://framos.lawoftheland.co.uk/troggle/" +URL_ROOT = "http://troggle.cavingexpedition.com/" TEMPLATE_DIRS = ( - "/home/mjg/expoweb/troggle/templates", + "/home/expo/troggle/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 = '/home/expo/troggle/troggle_log.txt' + +FEINCMS_ADMIN_MEDIA='/site_media/feincms/' + +EMAIL_HOST = "smtp.gmail.com" + +EMAIL_HOST_USER = "cuccexpo@gmail.com" + +EMAIL_HOST_PASSWORD = "khvtffkhvtff" + +EMAIL_PORT=587 + +EMAIL_USE_TLS = True |