2009-09-14 23:09:50 +01:00
|
|
|
import sys
|
2014-06-26 02:35:37 +01:00
|
|
|
# This is an example file. Copy it to localsettings.py, set the
|
2020-02-21 14:25:13 +00:00
|
|
|
# password and _don't_ check that file back to the repo as it exposes
|
2014-06-26 02:35:37 +01:00
|
|
|
# your/our password to the world!
|
|
|
|
|
2013-07-02 18:13:27 +01:00
|
|
|
DATABASES = {
|
|
|
|
'default': {
|
|
|
|
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
2013-07-06 09:28:39 +01:00
|
|
|
'NAME': 'troggle', # Or path to database file if using sqlite3.
|
2014-06-26 02:35:37 +01:00
|
|
|
'USER': 'expo', # Not used with sqlite3.
|
|
|
|
'PASSWORD': 'localpassword', # Not used with sqlite3.
|
2013-07-06 09:28:39 +01:00
|
|
|
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
|
|
|
|
'PORT': '', # Set to empty string for default. Not used with sqlite3.
|
2013-07-02 18:13:27 +01:00
|
|
|
}
|
|
|
|
}
|
2009-05-13 05:13:38 +01:00
|
|
|
|
2020-02-21 14:25:13 +00:00
|
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
|
2015-07-01 01:18:25 +01:00
|
|
|
EXPOUSER = 'expo'
|
|
|
|
EXPOUSERPASS = 'realpasshere'
|
|
|
|
EXPOUSER_EMAIL = 'wookey@wookware.org'
|
|
|
|
|
2011-07-14 03:50:49 +01:00
|
|
|
REPOS_ROOT_PATH = '/home/expo/'
|
|
|
|
sys.path.append(REPOS_ROOT_PATH)
|
|
|
|
sys.path.append(REPOS_ROOT_PATH + 'troggle')
|
|
|
|
|
|
|
|
PUBLIC_SITE = True
|
|
|
|
|
2014-09-11 06:33:34 +01:00
|
|
|
SURVEX_DATA = REPOS_ROOT_PATH + 'loser/'
|
|
|
|
TUNNEL_DATA = REPOS_ROOT_PATH + 'tunneldata/'
|
2018-04-20 20:58:05 +01:00
|
|
|
THREEDCACHEDIR = REPOS_ROOT_PATH + 'expowebcache/3d/'
|
2011-07-14 03:50:49 +01:00
|
|
|
|
2009-05-13 05:13:38 +01:00
|
|
|
CAVERN = 'cavern'
|
2011-07-10 23:53:32 +01:00
|
|
|
THREEDTOPOS = '3dtopos'
|
2014-09-11 06:33:34 +01:00
|
|
|
EXPOWEB = REPOS_ROOT_PATH + 'expoweb/'
|
|
|
|
SURVEYS = REPOS_ROOT_PATH
|
2015-10-02 15:10:04 +01:00
|
|
|
SURVEY_SCANS = REPOS_ROOT_PATH + 'expofiles/'
|
|
|
|
FILES = REPOS_ROOT_PATH + 'expofiles'
|
2011-05-02 02:12:26 +01:00
|
|
|
|
2009-05-13 05:23:25 +01:00
|
|
|
|
2014-09-11 06:33:34 +01:00
|
|
|
PYTHON_PATH = REPOS_ROOT_PATH + 'troggle/'
|
2009-05-13 05:17:50 +01:00
|
|
|
|
2011-07-14 03:50:49 +01:00
|
|
|
URL_ROOT = "http://expo.survex.com/"
|
|
|
|
DIR_ROOT = ''#this should end in / if a value is given
|
2014-09-11 06:33:34 +01:00
|
|
|
EXPOWEB_URL = 'http://expo.survex.com/'
|
|
|
|
SURVEYS_URL = 'http://expo.survex.com/survey_scans/'
|
2011-07-14 03:50:49 +01:00
|
|
|
MEDIA_URL = URL_ROOT + DIR_ROOT + 'site_media/'
|
2009-05-13 05:23:37 +01:00
|
|
|
|
2018-04-15 16:36:23 +01:00
|
|
|
STATIC_URL = URL_ROOT
|
|
|
|
STATIC_ROOT = DIR_ROOT
|
|
|
|
|
2014-09-11 06:33:34 +01:00
|
|
|
MEDIA_ROOT = REPOS_ROOT_PATH + '/troggle/media/'
|
|
|
|
MEDIA_ADMIN_DIR = '/usr/lib/python2.7/site-packages/django/contrib/admin/media/'
|
|
|
|
|
2015-06-27 13:01:15 +01:00
|
|
|
JSLIB_URL = URL_ROOT + 'javascript/'
|
2009-05-13 05:23:37 +01:00
|
|
|
|
2019-07-10 12:32:04 +01:00
|
|
|
TINY_MCE_MEDIA_ROOT = STATIC_ROOT + '/tiny_mce/'
|
|
|
|
TINY_MCE_MEDIA_URL = STATIC_ROOT + '/tiny_mce/'
|
2011-05-01 19:58:38 +01:00
|
|
|
|
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
|