2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-22 23:31:52 +00:00
troggle/localsettingsubuntu.py

51 lines
1.8 KiB
Python

# this file is copied from localsettingsserver.py or localsettingsubuntu.py to get you set off
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'troggle' # Or path to database file if using sqlite3.
DATABASE_USER = 'troggler3' # Not used with sqlite3.
DATABASE_PASSWORD = 'ggg' # 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.
PYTHON_PATH = '/home/goatchurch/expoweb/troggle/'
SURVEX_DATA = '/home/goatchurch/tunnel/cucc/loser/'
SURVEYS = '/home/goatchurch/tunnel/cucc/surveys'
EXPOWEB_URL = 'http://expo.survex.com/'
PUBLIC_SITE = False
CAVERN = 'cavern'
THREEDTOPOS = '3dtopos'
EXPOWEB = '/home/goatchurch/expoweb/'
SURVEYS_URL = ''
SURVEY_SCANS = '/home/goatchurch/tunnel/cucc/surveys/surveyscans'
LOGFILE = '/home/goatchurch/expoweb/parsing_log.txt'
PHOTOS = '/home/goatchurch/expoweb/photos'
# going to survey files (needs better name)
#FILES = "http://framos.lawoftheland.co.uk/troggle/survey_files/"
FILES = "/home/goatchurch/tunnel/cucc/surveys"
MEDIA_URL = URL_ROOT + DIR_ROOT + '/site_media/'
#URL_ROOT = '/troggle/'
MEDIA_ROOT = '/home/goatchurch/expoweb/troggle/media/'
URL_ROOT = 'http://127.0.0.1:8000'
DIR_ROOT = ''#this should end in / if a value is given
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + 'tinymce_media/'
TEMPLATE_DIRS = (
"/home/goatchurch/expoweb/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.
)