summaryrefslogtreecommitdiffstats
path: root/localsettingspotatohut.py
diff options
context:
space:
mode:
authorexpo <expo@expobox.potato.hut>2014-07-23 09:11:17 +0100
committerexpo <expo@expobox.potato.hut>2014-07-23 09:11:17 +0100
commit511f0cf5158fe0eeae6ea9f4c3c633220f88852a (patch)
treee043509d1c92effd70ae93fdb74da12f575bcd7f /localsettingspotatohut.py
parent963259d6e3a2dc60762f05a0897fdb9aca5cd114 (diff)
downloadtroggle-511f0cf5158fe0eeae6ea9f4c3c633220f88852a.tar.gz
troggle-511f0cf5158fe0eeae6ea9f4c3c633220f88852a.tar.bz2
troggle-511f0cf5158fe0eeae6ea9f4c3c633220f88852a.zip
Add a new config file for the potato hut setup.
Diffstat (limited to 'localsettingspotatohut.py')
-rw-r--r--localsettingspotatohut.py72
1 files changed, 72 insertions, 0 deletions
diff --git a/localsettingspotatohut.py b/localsettingspotatohut.py
new file mode 100644
index 0000000..1babd4a
--- /dev/null
+++ b/localsettingspotatohut.py
@@ -0,0 +1,72 @@
+import sys
+sys.path.append("/home/expo/troggle")
+
+# This is an example file. Copy it to localsettings.py, set the
+# password and _don't_ check that file back to the repo as it exposes
+# your/our password to the world!
+
+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': '161: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.
+ }
+}
+
+REPOS_ROOT_PATH = '/home/expo/'
+sys.path.append(REPOS_ROOT_PATH)
+sys.path.append(REPOS_ROOT_PATH + 'troggle')
+
+PUBLIC_SITE = True
+
+SURVEX_DATA = '/home/expo/loser/'
+TUNNEL_DATA = '/home/expo/tunneldata/'
+
+CAVERN = 'cavern'
+THREEDTOPOS = '3dtopos'
+EXPOWEB = '/home/expo/expoweb/'
+SURVEYS = '/home/expo/'
+SURVEY_SCANS = '/home/expo/expoimages/'
+FILES = '/home/expo/expoimages'
+
+EXPOWEB_URL = 'http://expo.survex.com/'
+
+SURVEYS_URL = 'http://expo.survex.com/survey_scans/'
+
+PYTHON_PATH = '/home/expo/troggle/'
+
+#URL_ROOT = "http://troggle.cavingexpedition.com/"
+URL_ROOT = "http://expo.survex.com/"
+DIR_ROOT = ''#this should end in / if a value is given
+
+MEDIA_URL = URL_ROOT + DIR_ROOT + 'site_media/'
+
+MEDIA_ROOT = '/home/expo/troggle/media/'
+MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'
+
+TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
+TINY_MCE_MEDIA_URL = URL_ROOT + DIR_ROOT + 'tinymce_media/'
+
+TEMPLATE_DIRS = (
+ "/home/expo/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.
+)
+
+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