mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-22 23:31:52 +00:00
70 lines
2.0 KiB
Python
70 lines
2.0 KiB
Python
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.
|
|
}
|
|
}
|
|
|
|
EXPOUSER = 'expo'
|
|
EXPOUSERPASS = 'realpasshere'
|
|
EXPOUSER_EMAIL = 'wookey@wookware.org'
|
|
|
|
SURVEX_DATA = 'c:\\Expo\\loser\\'
|
|
CAVERN = 'cavern'
|
|
THREEDTOPOS = '3dtopos'
|
|
EXPOWEB = 'C:\\Expo\\expoweb\\'
|
|
SURVEYS = 'E:\\surveys\\'
|
|
SURVEY_SCANS = 'E:\\surveys\\surveyscans'
|
|
|
|
EXPOWEB_URL = 'http://expo.survex.com/'
|
|
|
|
LOGFILE = EXPOWEB+'troggle\\parsing_log.txt'
|
|
|
|
PHOTOS = 'C:\\Expo\\expoweb\\photos'
|
|
|
|
URL_ROOT = 'http://127.0.0.1:8000'
|
|
DIR_ROOT = ''#this should end in / if a value is given
|
|
PUBLIC_SITE = False
|
|
|
|
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
|
|
TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + 'tinymce_media/'
|
|
|
|
PYTHON_PATH = 'C:\\expoweb\\troggle\\'
|
|
|
|
MEDIA_ROOT = 'C:/Expo/expoweb/troggle/media/'
|
|
MEDIA_URL = URL_ROOT + DIR_ROOT + 'site_media/'
|
|
|
|
STATIC_URL = URL_ROOT
|
|
STATIC_ROOT = DIR_ROOT
|
|
|
|
#FILES = "http://framos.lawoftheland.co.uk/troggle/survey_files/"
|
|
|
|
EMAIL_HOST = "smtp.gmail.com"
|
|
|
|
EMAIL_HOST_USER = "cuccexpo@gmail.com"
|
|
|
|
EMAIL_HOST_PASSWORD = ""
|
|
|
|
EMAIL_PORT=587
|
|
|
|
EMAIL_USE_TLS = True
|
|
|
|
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
|
|
# trailing slash if there is a path component (optional in other cases).
|
|
# Examples: "http://media.lawrence.com", "http://example.com/media/"
|
|
|
|
|
|
|
|
|
|
TEMPLATE_DIRS = (
|
|
"C:/Expo/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.
|
|
)
|