From aa06a51eea7df5b402fc6944fe93619cf1654e0a Mon Sep 17 00:00:00 2001 From: Debian development Date: Wed, 13 Feb 2008 20:08:06 +0100 Subject: Adjust ikiwiki.setup to use actual paths, and add+enable Git post-update hooks --- ikiwiki.setup | 18 +++++++++--------- 1 file 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? -- cgit v1.2.3