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
|
|
|
|
2009-05-13 05:20:20 +01:00
|
|
|
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
|
|
|
DATABASE_NAME = 'troggle' # Or path to database file if using sqlite3.
|
2011-08-07 15:12:52 +01:00
|
|
|
DATABASE_USER = 'expo' # Not used with sqlite3.
|
|
|
|
DATABASE_PASSWORD = 'gosser' # Not used with sqlite3.
|
2009-05-13 05:20:20 +01:00
|
|
|
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
|
|
|
|
DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3.
|
|
|
|
|
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/'
|
|
|
|
|
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/'
|
|
|
|
SURVEYS = '/home/expo/'
|
|
|
|
SURVEY_SCANS = REPOS_ROOT_PATH + 'expoimages/'
|
|
|
|
FILES = REPOS_ROOT_PATH + 'expoimages'
|
2009-06-09 19:52:32 +01:00
|
|
|
|
|
|
|
|
2011-07-14 03:50:49 +01:00
|
|
|
PYTHON_PATH = '/home/expo/expofiles/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'
|
|
|
|
URL_ROOT = "http://expobox/"
|
|
|
|
DIR_ROOT = ''#this should end in / if a value is given
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2011-07-14 03:50:49 +01:00
|
|
|
EXPOWEB_URL = 'http://expobox/'
|
|
|
|
SURVEYS_URL = 'http://expobox/survey_scans/'
|
2009-06-09 19:52:32 +01:00
|
|
|
|
2011-05-02 02:37:33 +01:00
|
|
|
MEDIA_URL = URL_ROOT + DIR_ROOT + '/site_media/'
|
2011-07-14 03:50:49 +01:00
|
|
|
MEDIA_ROOT = '/home/expo/expofiles/troggle/media/'
|
|
|
|
MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'
|
2009-05-13 05:20:20 +01:00
|
|
|
|
2011-05-01 19:58:38 +01:00
|
|
|
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
|
2011-05-02 02:37:33 +01:00
|
|
|
TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + 'tinymce_media/'
|
2011-05-01 19:58:38 +01:00
|
|
|
|
2009-05-13 05:20:20 +01:00
|
|
|
TEMPLATE_DIRS = (
|
2011-08-07 15:12:52 +01:00
|
|
|
"/home/expo/expofiles/troggle/templates",
|
2009-05-13 05:20:20 +01:00
|
|
|
# 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.
|
|
|
|
)
|
|
|
|
|
2011-08-07 15:12:52 +01:00
|
|
|
LOGFILE = '/home/expo/expofiles/troggle/parsing_log.txt'
|