From f11d67ebd02ee8dfe8f47bc54c98f59e12be2cf2 Mon Sep 17 00:00:00 2001 From: "http://lj.rossia.org/users/imz/" Date: Wed, 13 May 2009 19:44:27 -0400 Subject: [PATCH] Q&A: using a local wiki to preview changes: an srcdir needed? --- doc/rcs/git/discussion.mdwn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/rcs/git/discussion.mdwn b/doc/rcs/git/discussion.mdwn index e56978631..a8c1ad200 100644 --- a/doc/rcs/git/discussion.mdwn +++ b/doc/rcs/git/discussion.mdwn @@ -95,3 +95,8 @@ Does that mean that apache:apache should just own everything, and I should only > Ikiwiki is designed so that you don't have to worry about this kind of permissions issue. > Instead you can just configure the ikiwiki.cgi, in the setup file, to be suid to your > user. Then there's no need to let the web server's user modify files at all. --[[Joey]] + + +## using a local wiki to preview changes: an srcdir needed? +I have read the hints about using a local wiki to preview changes, but I haven't understood: is it assumed that I should also have a separate "srcdir" for this local preview-wiki (as it is done for the main wiki site), or I could point the local ikiwiki's "srcdir" to the working dir? Can something bad happen if I do this? I guess no, because--as I see it--the reason to have 2 repos for the main site was only enabling pushing to it, so it's a peculiarity of git, and not a requirement for a clean functioning of ikiwiki. +Ok, probably, I have answered my question myself, but I'll let this comment stay here, if someone else will be tinking about the same issue. --Ivan Z. -- 2.44.0