2011-08-07 15:12:52 +01:00
|
|
|
import sys
|
2011-07-14 03:50:49 +01:00
|
|
|
# link localsettings to this file for use on expo computer in austria
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2013-07-02 18:13:27 +01:00
|
|
|
DATABASES = {
|
2020-02-21 14:25:13 +00:00
|
|
|
'default': {
|
2013-08-01 16:00:01 +01:00
|
|
|
'ENGINE': 'django.db.backends.mysql', # 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
|
|
|
|
'NAME' : 'troggle', # Or path to database file if using sqlite3.
|
|
|
|
'USER' : 'expo', # Not used with sqlite3.
|
2015-06-24 04:41:50 +01:00
|
|
|
'PASSWORD' : 'sekrit', # Not used with sqlite3.
|
2013-08-01 16:00:01 +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:20:20 +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/expofiles/'
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2011-07-14 03:50:49 +01:00
|
|
|
sys.path.append(REPOS_ROOT_PATH)
|
|
|
|
sys.path.append(REPOS_ROOT_PATH + 'troggle')
|
2011-05-02 00:53:44 +01:00
|
|
|
|
2011-05-02 02:12:26 +01:00
|
|
|
PUBLIC_SITE = False
|
|
|
|
|
2011-07-14 03:50:49 +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:20:20 +01:00
|
|
|
CAVERN = 'cavern'
|
2011-07-10 23:53:32 +01:00
|
|
|
THREEDTOPOS = '3dtopos'
|
2011-07-14 03:50:49 +01:00
|
|
|
EXPOWEB = REPOS_ROOT_PATH + 'expoweb/'
|
2013-07-02 18:13:27 +01:00
|
|
|
SURVEYS = REPOS_ROOT_PATH
|
2015-10-02 15:10:04 +01:00
|
|
|
SURVEY_SCANS = REPOS_ROOT_PATH + 'expofiles/'
|
|
|
|
FILES = REPOS_ROOT_PATH + 'expofiles'
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2014-09-11 06:33:34 +01:00
|
|
|
EXPOWEB_URL = '/'
|
|
|
|
SURVEYS_URL = '/survey_scans/'
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2013-08-01 16:00:01 +01:00
|
|
|
PYTHON_PATH = REPOS_ROOT_PATH + 'troggle/'
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2011-07-14 03:50:49 +01:00
|
|
|
#URL_ROOT = 'http://127.0.0.1:8000'
|
2012-08-05 01:33:48 +01:00
|
|
|
URL_ROOT = "http://expoweb/"
|
2011-07-14 03:50:49 +01:00
|
|
|
DIR_ROOT = ''#this should end in / if a value is given
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2014-09-11 06:33:34 +01:00
|
|
|
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2011-05-02 02:37:33 +01:00
|
|
|
MEDIA_URL = URL_ROOT + DIR_ROOT + '/site_media/'
|
2013-07-02 18:13:27 +01:00
|
|
|
MEDIA_ROOT = REPOS_ROOT_PATH + '/troggle/media/'
|
2011-07-14 03:50:49 +01:00
|
|
|
MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'
|
2009-05-13 05:20:20 +01:00
|
|
|
|
2018-04-15 16:36:23 +01:00
|
|
|
STATIC_URL = URL_ROOT
|
|
|
|
STATIC_ROOT = DIR_ROOT
|
|
|
|
|
2015-06-27 13:01:15 +01:00
|
|
|
JSLIB_URL = URL_ROOT + 'javascript/'
|
2014-09-11 06:33:34 +01:00
|
|
|
|
2011-05-01 19:58:38 +01:00
|
|
|
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
|
2012-08-05 01:33:48 +01:00
|
|
|
TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + '/tinymce_media/'
|
2011-05-01 19:58:38 +01:00
|
|
|
|
2014-09-11 06:33:34 +01:00
|
|
|
LOGFILE = PYTHON_PATH + 'troggle_log.txt'
|