troggle-unchained/localsettingsserver.py

71 lines
2.0 KiB
Python
Raw Normal View History

2009-09-14 23:09:50 +01:00
import sys
sys.path.append("/home/expo/troggle")
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'troggle', # Or path to database file if using sqlite3.
'USER': 'expo', # Not used with sqlite3.
'PASSWORD': 'gosser', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}
REPOS_ROOT_PATH = '/home/expo/'
sys.path.append(REPOS_ROOT_PATH)
sys.path.append(REPOS_ROOT_PATH + 'troggle')
PUBLIC_SITE = True
2009-09-14 23:09:50 +01:00
SURVEX_DATA = '/home/expo/loser/'
TUNNEL_DATA = '/home/expo/tunneldata/'
CAVERN = 'cavern'
THREEDTOPOS = '3dtopos'
2009-09-14 23:09:50 +01:00
EXPOWEB = '/home/expo/expoweb/'
SURVEYS = '/home/expo/'
SURVEY_SCANS = '/home/expo/expoimages/'
FILES = '/home/expo/expoimages'
EXPOWEB_URL = 'http://expo.survex.com/'
MMMMC_DIR = "/home/expo/mmmc"
SURVEYS_URL = 'http://expo.survex.com/survey_scans/'
2009-09-14 23:09:50 +01:00
PYTHON_PATH = '/home/expo/troggle/'
#URL_ROOT = "http://troggle.cavingexpedition.com/"
URL_ROOT = "http://expo.survex.com/"
DIR_ROOT = ''#this should end in / if a value is given
MEDIA_URL = URL_ROOT + DIR_ROOT + 'site_media/'
2009-09-14 23:09:50 +01:00
MEDIA_ROOT = '/home/expo/troggle/media/'
MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + 'tinymce_media/'
TEMPLATE_DIRS = (
2009-09-14 23:09:50 +01:00
"/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.
)
2009-09-14 23:09:50 +01:00
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