X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/2aaab7db29f154816d6338a1329b42090209d966..212d7eb246c5eef8e78134104b3d19d4f1aff601:/doc/post-commit.mdwn?ds=inline diff --git a/doc/post-commit.mdwn b/doc/post-commit.mdwn index 8dff290fd..780687563 100644 --- a/doc/post-commit.mdwn +++ b/doc/post-commit.mdwn @@ -1,5 +1,7 @@ +A post-commit hook is run every time you commit a change to your subversion repository. To make the wiki be updated each time a commit is made, it can be run from (or as) a post-commit hook. + The best way to run ikiwiki in a [[Subversion]] post-commit hook is using -a wrapper, which can be generated using `ikiwiki --wrapper`. +a [[wrapper]], which can be generated using `ikiwiki --wrapper`. First, set up the subversion checkout that ikiwiki will update and compile into your wiki at each subversion commit. Run ikiwiki a few times by hand @@ -24,3 +26,5 @@ getting called by users who have write access to subversion, but not to your wiki checkout and html directory. If so, you can safely make ikiwiki-wrap suid to a user who can write there (*not* to root!). You might want to read [[Security]] first. + +[[setup]] explains setting this up in more detail.