From e0f34c0e8dc2b5cb808808134927d7e9e880b779 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 12 Jun 2007 16:17:02 -0700 Subject: [PATCH] Document the need to touch up post-update This hook must be edited to call ikiwiki-post-update and must be made executable before the wiki will be active. --- README | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README b/README index c2589e0..e6658aa 100644 --- a/README +++ b/README @@ -24,7 +24,12 @@ Here are some of the key features of what I've got setup: 3. Pre-configured for git Most of the git-specific settings you need are already setup - in ikiwiki.setup. + in ikiwiki.setup. One that is not is that the generated + wrapper is placed into ikiwiki-post-update rather than going + directly into git's post-update---so you will have to manually + edit post-update to call ikiwiki-post-update, (perhaps in + addition to anything else you want to do in post-update). See + below. Usage ===== @@ -40,8 +45,11 @@ inside of it that ikiwiki will use: GIT_DIR=. git init-db git clone $gitrepo ikiwiki-checkout -Finally, push this repository out to $gitrepo, then start adding -content in files under src. +Finally, push this repository out to $gitrepo. Then edit +$gitrepo/hooks/post-update to call the now-generated +ikiwiki-post-update wrapper, (and don't forget to make chmod +post-update to be executable). And finally, start adding content in +files under src, using "git push" to publish. Let me know if you have any problems or questions, -- 2.43.0