aboutsummaryrefslogtreecommitdiff
path: root/doc/setup.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-16 03:22:56 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-01-16 03:22:56 +0000
commitc99a790c843b7c7d8beb987cc35ed7fd33958756 (patch)
tree3979bdc96f5d37880e95909edfa2a57d973b4132 /doc/setup.mdwn
parent8f5d3267619da5325eb2d46ce7d9744964e6b9a2 (diff)
downloadikiwiki-c99a790c843b7c7d8beb987cc35ed7fd33958756.tar
ikiwiki-c99a790c843b7c7d8beb987cc35ed7fd33958756.tar.gz
response, and change setup instuctions for svn. The other rcses seem ok,
although I also added some stuff for mercurual to actually add the files to the repo..
Diffstat (limited to 'doc/setup.mdwn')
-rw-r--r--doc/setup.mdwn12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/setup.mdwn b/doc/setup.mdwn
index 116501768..48f63fa55 100644
--- a/doc/setup.mdwn
+++ b/doc/setup.mdwn
@@ -101,9 +101,11 @@ This tutorial will walk you through setting up a wiki with ikiwiki.
[[toggleable id=subversion text="""
REPOSITORY=~/wikirepo
svnadmin create $REPOSITORY
- svn import $SRCDIR file://$REPOSITORY/trunk -m "initial import"
- rm -rf $SRCDIR
- svn co file://$REPOSITORY/trunk $SRCDIR
+ svn mkdir file://$REPOSITORY/trunk -m "create trunk"
+ cd $SRCDIR
+ svn co file://$REPOSITORY/trunk .
+ svn add *
+ svn commit -m "initial import"
"""]]
[[toggle id=git text="Git"]]
@@ -136,7 +138,11 @@ This tutorial will walk you through setting up a wiki with ikiwiki.
[[toggle id=mercurial text="Mercurial"]]
[[toggleable id=mercurial text="""
REPOSITORY=$SRCDIR
+ rm -rf $SRCDIR/.ikiwiki # not for checkin
hg init $REPOSITORY
+ cd $REPOSITORY
+ hg add *
+ hg commit -m "initial import"
"""]]
9. Configure ikiwiki to use revision control.