X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f7f3b0bb7d91c74f67023e970cee71ad2ea260da..ef3021c403b1d5545e138af913b1ef9be7eed449:/doc/setup.mdwn diff --git a/doc/setup.mdwn b/doc/setup.mdwn index c6a8f297e..dd1a9be8c 100644 --- a/doc/setup.mdwn +++ b/doc/setup.mdwn @@ -18,13 +18,14 @@ you through setting up a wiki that is stored in [[Subversion]], [[Git]], cp /usr/share/ikiwiki/basewiki/index.mdwn . git add . git commit -m create -a + # No need to keep files in the master repository; so at this + # stage, you may want to remove all files (except .git) to + # save disk space. # TLA mkdir /tla tla make-archive me@localhost--wiki /tla/wikirepo tla my-id "" - # Edit {arch}/=tagging-method and change the precious - # line to add the .ikiwiki directory to the regexp. # Mercurial hg init /hg/wikirepo @@ -35,13 +36,17 @@ you through setting up a wiki that is stored in [[Subversion]], [[Git]], svn co file:///svn/wikirepo/trunk ~/wikiwc # Git - git clone /git/wikirepo ~/wikiwc + # Create a local clone to save disk space and also to + # optimize performance. See git-clone(1). + git clone -l -s /git/wikirepo ~/wikiwc # TLA mkdir ~/wikiwc cd ~/wikiwc tla archive-setup me@localhost--wiki/wiki--0 tla init-tree me@localhost--wiki/wiki--0 + # Edit {arch}/=tagging-method and change the precious + # line to add the .ikiwiki directory to the regexp. tla import # Mercurial @@ -109,7 +114,7 @@ you through setting up a wiki that is stored in [[Subversion]], [[Git]], subversion configuration, and uncomment and edit the configuration for your chosen RCS. - Note that the default file has a block to configure an [[post-commit]] + Note that the default file has a block to configure a [[post-commit]] wrapper to update the wiki. You need to uncomment the related block for whatever RCS you use and comment out the other rcs blocks. @@ -134,4 +139,4 @@ you through setting up a wiki that is stored in [[Subversion]], [[Git]], Then run `ikiwiki --setup ikiwiki.setup` again. -10. Enjoy your new wiki! Add yourself to [[IkiWikiUsers]] +10. Enjoy your new wiki! Add yourself to [[IkiWikiUsers]].