aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bn_django/git_browse/settings.py2
-rw-r--r--bn_django/git_browse/templates/git_browse/base.html2
-rw-r--r--bn_django/git_wiki/settings.py6
-rw-r--r--bn_django/git_wiki/templates/git_wiki/base.html2
-rw-r--r--bn_django/settings.py12
5 files changed, 12 insertions, 12 deletions
diff --git a/bn_django/git_browse/settings.py b/bn_django/git_browse/settings.py
index 87b957d..8e63667 100644
--- a/bn_django/git_browse/settings.py
+++ b/bn_django/git_browse/settings.py
@@ -1,2 +1,2 @@
# fill path to the git command
-GITCOMMAND = '/usr/local/bin/git'
+GITCOMMAND = '/usr/bin/git'
diff --git a/bn_django/git_browse/templates/git_browse/base.html b/bn_django/git_browse/templates/git_browse/base.html
index 848a06b..611d11d 100644
--- a/bn_django/git_browse/templates/git_browse/base.html
+++ b/bn_django/git_browse/templates/git_browse/base.html
@@ -2,7 +2,7 @@
{% block stylesheets %}
{{ block.super }}
-<link rel="STYLESHEET" type="text/css" href="/style/git_browse.css" />
+<link rel="STYLESHEET" type="text/css" href="/static/style/git_browse.css" />
{% endblock %}
{% block path %}
diff --git a/bn_django/git_wiki/settings.py b/bn_django/git_wiki/settings.py
index 965ac26..b94d318 100644
--- a/bn_django/git_wiki/settings.py
+++ b/bn_django/git_wiki/settings.py
@@ -1,13 +1,13 @@
# full path to directory holding the wiki repository (or sys links to
# the repositories)
-GITWIKI_BASE = '/home/bnewbold/knowledge/'
+GITWIKI_BASE = '/srv/git/'
# leave this blank (NO WHITE SPACE) unless you're using a bare repo
-GITWIKI_NAME = ''
+GITWIKI_NAME = 'knowledge'
# fill path to the git command
-GITCOMMAND = '/usr/local/bin/git'
+GITCOMMAND = '/usr/bin/git'
GITWIKI_DIR = str(GITWIKI_BASE) + '/' + str(GITWIKI_NAME) + '.git'
GITPREFIX = 'cd ' +str(GITWIKI_BASE) + '; ' + str(GITCOMMAND) + ' --git-dir=' \
diff --git a/bn_django/git_wiki/templates/git_wiki/base.html b/bn_django/git_wiki/templates/git_wiki/base.html
index 9277037..532fde3 100644
--- a/bn_django/git_wiki/templates/git_wiki/base.html
+++ b/bn_django/git_wiki/templates/git_wiki/base.html
@@ -2,7 +2,7 @@
{% block stylesheets %}
{{ block.super }}
-<link rel="STYLESHEET" type="text/css" href="/style/git_wiki.css" />
+<link rel="STYLESHEET" type="text/css" href="/static/style/git_wiki.css" />
{% endblock %}
{% block path %}
diff --git a/bn_django/settings.py b/bn_django/settings.py
index 3183cdc..f8b6ed9 100644
--- a/bn_django/settings.py
+++ b/bn_django/settings.py
@@ -1,6 +1,6 @@
# Django settings for bn_django project.
-DEBUG = True
+DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
@@ -11,7 +11,7 @@ ADMINS = (
MANAGERS = ADMINS
DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
-DATABASE_NAME = '/home/bnewbold/bn-project/bn_django/bn_django.db' # Or path to database file if using sqlite3.
+DATABASE_NAME = '/srv/django/bn_django.db' # Or path to database file if using sqlite3.
DATABASE_USER = '' # Not used with sqlite3.
DATABASE_PASSWORD = '' # Not used with sqlite3.
DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3.
@@ -34,16 +34,16 @@ USE_I18N = True
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = '/home/bnewbold/bn-project/media/'
+MEDIA_ROOT = '/srv/http/bryannewbold/static/'
# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com"
-MEDIA_URL = '/media/'
+MEDIA_URL = '/static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
-ADMIN_MEDIA_PREFIX = '/style/django-admin/'
+ADMIN_MEDIA_PREFIX = '/static/django-admin/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'jdsgk29845ldsfg0090204tv(GFD8g0(%$)*@$#R%U)#*ifd;/q'
@@ -70,7 +70,7 @@ TEMPLATE_DIRS = (
# 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.
- '/home/bnewbold/bn-project/bn_django/templates',
+ '/srv/django/bn-project/bn_django/templates',
)
INSTALLED_APPS = (