From a0806e45bfc29181195f3c801943607d7a3393e0 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 15 Jun 2007 10:32:07 -0700 Subject: [PATCH] Add more details to README about setting up the post-update hook --- README | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/README b/README index e6658aa..fe63d14 100644 --- a/README +++ b/README @@ -43,13 +43,26 @@ inside of it that ikiwiki will use: mkdir -p $gitrepo cd $gitrepo GIT_DIR=. git init-db + +Then, push the contents of this repository out to $gitrepo and +continue with the following commands (still with $gitrepo as the +current working directory): + git clone $gitrepo ikiwiki-checkout + cd ikiwiki-checkout + ikiwiki --setup ikiwiki.setup + +And finally, edit $gitrepo/hooks/post-update to call the new +$gitrepo/hooks/ikiwiki-post-update program and also don't forget to +actually enable the hook with: + + chmod a+x $gitrepo/hooks/post-update . -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. +Now, you're finally ready to go, and you should be able to just start +adding content under the src directory and use "git push" to publish +them. To preview things locally, just run "ikiwiki --setup +ikiwiki.setup", (and ensure the destination paths exist on the local +machine as well). Let me know if you have any problems or questions, -- 2.43.0