summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/setup.mdwn4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/setup.mdwn b/doc/setup.mdwn
index cd6bfdc9c..eef068dae 100644
--- a/doc/setup.mdwn
+++ b/doc/setup.mdwn
@@ -14,6 +14,10 @@ and that has optional support for commits from the web.
mkdir /git/wikirepo
cd /git/wikirepo
git init-db
+ # Git requires something be in the repo to start with.
+ cp /usr/share/ikiwiki/basewiki/index.mdwn .
+ git add .
+ git commit -m create -a
3. Check out the repository to make the working copy that ikiwiki will use.