]> git.cworth.org Git - ikiwiki-bootstrap/commitdiff
Document the need to touch up post-update
authorCarl Worth <cworth@cworth.org>
Tue, 12 Jun 2007 23:17:02 +0000 (16:17 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 12 Jun 2007 23:17:02 +0000 (16:17 -0700)
This hook must be edited to call ikiwiki-post-update and must be made
executable before the wiki will be active.

README

diff --git a/README b/README
index c2589e09e3a4de914304b96c5105ef4d5455681c..e6658aa8600300ef757ec8c66a0615efa183a5a2 100644 (file)
--- 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,