My solution to working with ikiwiki from git
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 24 Feb 2011 09:09:04 +0000 (10:09 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 24 Feb 2011 09:09:04 +0000 (10:09 +0100)
doc/forum/Setting_up_a_development_environment.mdwn
doc/forum/ikiwiki_development_environment_tips.mdwn

index 94f022e22b8ad7b8fdb4104b410162c80754d622..0b4e555c1fc092aa26f0f9dc5d6a8955aa3d1d7b 100644 (file)
@@ -24,3 +24,9 @@ I must be missing something obvious, but the [[ikiwiki development environment t
 Cheers,
 
 [[Francois|fmarier]]
+
+> I updated the [[ikiwiki development environment tips]] page with my
+> approach to running ikiwiki from the git checkout (with changes). For
+> the templates, also make sure that you do not have custom templates in
+> your src dir as they will be used instead of those from the template
+> dir if found. --GB
index 91ccc6d6e56c151fd375621e19de0929906c1227..f9c584159f521a4a640723621f848832dd23566b 100644 (file)
@@ -42,3 +42,27 @@ Does anyone have a comfortable setup or tips they would like to share? -- [[Jon]
 > needed, since it is preconfigured to use the templates and underlays
 > from ikiwiki's source repository.
 > --[[Joey]]
+
+> I work with Ikiwiki from the git checkout directory the following way.
+>
+> * instead of running ikiwiki, I wrote the following `mykiwiki` shell script,
+> that also allows me to use my custom lib-ifited multimarkdown:
+
+    #!/bin/sh
+    
+    MMDSRC="$HOME/src/multimarkdown/lib"
+    IKIWIKISRC="$HOME/src/ikiwiki"
+    PLUGINS="$HOME/src/ikiplugins"
+    
+    /usr/bin/perl -I"$MMDSRC" -I"$IKIWIKISRC/blib/lib" -I"$PLUGINS" "$IKIWIKISRC/ikiwiki.out" -libdir "$IKIWIKISRC" "$@"
+
+> * I also have an installed ikiwiki from Debian unstable, from which I only use the base wiki, so my `.setup` has the following configs:
+
+    # additional directory to search for template files
+    templatedir => '/home/oblomov/src/ikiwiki/templates',
+    # base wiki source location
+    underlaydir => '/usr/share/ikiwiki/basewiki',
+    # extra library and plugin directory
+    libdir => '/home/oblomov/src/ikiwiki',
+
+> Hope that helps --GB