Skip to content
Snippets Groups Projects
Commit e23d5c06 authored by Brian Moe's avatar Brian Moe
Browse files

new settings for new debian squeeze server

parent ae39c2ff
No related branches found
No related tags found
No related merge requests found
import os import os
import sys import sys
sys.path.append('/home/lars/django') # XXX The WSGI files should be unified.
# Would be easy if settings.py were unified, which isn't hard.
# OK, the lib/lib64 situation should be handled better.
sys.path.append('/opt/lscsoft-bleed/lib64/python2.4/site-packages')
sys.path.append('/opt/lscsoft-bleed/glue/lib64/python2.4/site-packages')
sys.path.append('/opt/lscsoft-bleed/lib/python2.4/site-packages')
sys.path.append('/opt/lscsoft/pylal/lib/python2.4/site-packages')
sys.path.append('/opt/lscsoft/pylal/lib64/python2.4/site-packages')
os.environ['DJANGO_SETTINGS_MODULE'] = 'gracedb.settings_dev' os.environ['DJANGO_SETTINGS_MODULE'] = 'gracedb.settings_dev'
sys.path.append('/home/bmoe/sandbox/lib/python2.6/site-packages')
sys.path.append('/home/bmoe/sandbox/lib/python2.6')
import django.core.handlers.wsgi import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler() application = django.core.handlers.wsgi.WSGIHandler()
#os.environ['PKG_CONFIG_PATH'] = "${HOME}/lib/pkgconfig:${PKG_CONFIG_PATH}"
...@@ -36,7 +36,7 @@ DATABASE_HOST = '' # Set to empty string for localhost. ...@@ -36,7 +36,7 @@ DATABASE_HOST = '' # Set to empty string for localhost.
DATABASE_PORT = '' # Set to empty string for default. DATABASE_PORT = '' # Set to empty string for default.
# Latency histograms. Where they go and max latency to bin. # Latency histograms. Where they go and max latency to bin.
LATENCY_REPORT_DEST_DIR = "/home/lars/django/data/latency" LATENCY_REPORT_DEST_DIR = "/home/bmoe/django/data/latency"
LATENCY_MAXIMUM_CHARTED = 1800 LATENCY_MAXIMUM_CHARTED = 1800
LATENCY_REPORT_WEB_PAGE_FILE_PATH = LATENCY_REPORT_DEST_DIR + "/latency.inc" LATENCY_REPORT_WEB_PAGE_FILE_PATH = LATENCY_REPORT_DEST_DIR + "/latency.inc"
...@@ -112,7 +112,7 @@ TEMPLATE_DIRS = ( ...@@ -112,7 +112,7 @@ TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
# Always use forward slashes, even on Windows. # Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths. # Don't forget to use absolute paths, not relative paths.
"/home/lars/django/gracedb/templates", "/home/bmoe/gracedb/templates",
) )
INSTALLED_APPS = ( INSTALLED_APPS = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment