]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/setup.mdwn
web commit by ClintAdams
[ikiwiki.git] / doc / setup.mdwn
index eef068daea21f0e5e89b880c835a8d61871c67b5..e2396f777355a374441f4d9e06378ba9c06f92ff 100644 (file)
@@ -1,6 +1,6 @@
 So you want to set up your own wiki using ikiwiki? This tutorial will walk
-you through setting up a wiki that is stored in [[Subversion]] or [[Git]],
-and that has optional support for commits from the web.
+you through setting up a wiki that is stored in [[Subversion]], [[Git]], or
+[[TLA]], and that has optional support for commits from the web.
 
 1. [[Install]] ikiwiki. See [[download]] for where to get it.
 
@@ -19,6 +19,13 @@ and that has optional support for commits from the web.
                git add .
                git commit -m create -a
 
+               # TLA
+               mkdir /tla
+               tla make-archive me@localhost--wiki /tla/wikirepo
+               tla my-id "<me@localhost>"
+               # Edit {arch}/=tagging-method and change the precious
+               # line to add the .ikiwiki directory to the regexp.
+
 3. Check out the repository to make the working copy that ikiwiki will use.
 
                # Subversion
@@ -27,6 +34,13 @@ and that has optional support for commits from the web.
                # Git
                git clone /git/wikirepo ~/wikiwc
 
+               # TLA
+               mkdir ~/wikiwc
+               cd ~/wikiwc
+               tla archive-setup me@localhost--wiki/wiki--0
+               tla init-tree me@localhost--wiki/wiki--0
+               tla import
+
 4. Build your wiki for the first time.
 
                ikiwiki --verbose ~/wikiwc/ ~/public_html/wiki/ \
@@ -52,6 +66,10 @@ and that has optional support for commits from the web.
                git commit -m customised index.mdwn
                git push origin
 
+               # TLA
+               tla add index.mdwn
+               tla commit
+
    You can also add any files you like from scratch of course.
 
 6. Repeat steps 4 and 5 as desired, editing or adding pages and rebuilding