summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDebian development <debian@mail.bitbase.dk>2008-02-13 20:08:06 +0100
committerDebian development <debian@mail.bitbase.dk>2008-02-13 20:08:06 +0100
commitaa06a51eea7df5b402fc6944fe93619cf1654e0a (patch)
tree54e6e88376f52f4fb213f0f8e3bcb620a61ac23a
parent805ca263d84b29fb03aa7e197b1d9b7373d72766 (diff)
Adjust ikiwiki.setup to use actual paths, and add+enable Git post-update hooks
-rw-r--r--ikiwiki.setup18
1 files changed, 9 insertions, 9 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup
index c96a45f..678ab4e 100644
--- a/ikiwiki.setup
+++ b/ikiwiki.setup
@@ -11,11 +11,11 @@ use IkiWiki::Setup::Standard {
adminemail => 'me@example.org',
# Be sure to customise these..
- srcdir => "/path/to/source",
- destdir => "/var/www/wiki",
+ srcdir => "/home/debian/private_webdata/golearn/content",
+ destdir => "/home/debian/public_websites/golearn.biks.dk",
- url => "http://example.org/wiki",
- cgiurl => "http://example.org/ikiwiki.cgi",
+ url => "http://golearn.biks.dk",
+ #cgiurl => "http://example.org/ikiwiki.cgi",
#templatedir => "/usr/share/ikiwiki/templates",
#underlaydir => "/usr/share/ikiwiki/basewiki",
@@ -26,7 +26,7 @@ use IkiWiki::Setup::Standard {
#svnpath => "trunk",
# Git stuff.
- #rcs => "git",
+ rcs => "git",
#historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]",
#diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
#gitorigin_branch => "origin",
@@ -82,14 +82,14 @@ use IkiWiki::Setup::Standard {
# # hide output and errors.
# syslog => 1,
#},
- #{
+ {
# # The git post-update wrapper.
# # Note that this will overwrite any existing
# # post-update hook script, which may not be
# # what you want.
- # wrapper => "/git/wiki.git/hooks/post-update",
- # wrappermode => "06755",
- #},
+ wrapper => "/home/debian/public_websites/source.jones.dk/golearn_content.git/hooks/post-update-golearn",
+ wrappermode => "06755",
+ },
],
# Default to generating rss feeds for blogs?