aboutsummaryrefslogtreecommitdiff
path: root/doc/tips
diff options
context:
space:
mode:
authorjustint <justint@web>2010-10-14 20:42:23 +0000
committerJoey Hess <joey@kitenet.net>2010-10-14 20:42:23 +0000
commit52375d9c080fd5db8106f75d5ca00f3c806644de (patch)
tree3a32db6e59b28ff516ff07e2512d34c5e5285511 /doc/tips
parent46118a983f1253defcda3042821a10ce5046103c (diff)
downloadikiwiki-52375d9c080fd5db8106f75d5ca00f3c806644de.tar
ikiwiki-52375d9c080fd5db8106f75d5ca00f3c806644de.tar.gz
Diffstat (limited to 'doc/tips')
-rw-r--r--doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn44
1 files changed, 44 insertions, 0 deletions
diff --git a/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn b/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn
index 38df19708..d685af0d0 100644
--- a/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn
+++ b/doc/tips/ikiwiki_on_Mac_OS_X_Snow_Leopard.mdwn
@@ -109,6 +109,50 @@ sudo make install
it installed without issue so I'm baffled why it didn't install from command line.
+## setup file
+
+#!/usr/bin/perl
+# Ikiwiki setup automator.
+#
+# This setup file causes ikiwiki to create a wiki, check it into revision
+# control, generate a setup file for the new wiki, and set everything up.
+#
+# Just run: ikiwiki -setup /etc/ikiwiki/auto.setup
+#
+# By default, it asks a few questions, and confines itself to the user's home
+# directory. You can edit it to change what it asks questions about, or to
+# modify the values to use site-specific settings.
+
+require IkiWiki::Setup::Automator;
+
+our $wikiname="your wiki";
+our $wikiname_short="yourwiki";
+our $rcs="git";
+our $admin="your name";
+use Net::Domain q{hostfqdn};
+our $domain="your.domain";
+
+IkiWiki::Setup::Automator->import(
+wikiname => $wikiname,
+adminuser => [$admin],
+rcs => $rcs,
+srcdir => "/opt/ikiwiki/$wikiname_short",
+destdir => "/Library/WebServer/Documents/$wikiname_short",
+repository => "/opt/ikiwiki/$wikiname_short.".($rcs eq "monotone" ? "mtn" : $rcs),
+dumpsetup => "/opt/ikiwiki/$wikiname_short.setup",
+url => "http://$domain/$wikiname_short",
+cgiurl => "http://$domain/cgi-bin/$wikiname_short/ikiwiki.cgi",
+cgi_wrapper => "/Library/WebServer/CGI-Executables/$wikiname_short/ikiwiki.cgi",
+adminemail => "your\@email.com",
+add_plugins => [qw{goodstuff websetup}],
+disable_plugins => [qw{}],
+libdir => "/opt/ikiwiki/.ikiwiki",
+rss => 1,
+atom => 1,
+syslog => 1,
+)
+
+
## turning on search plugin:
I turned on the plugin from the setup page in ikiwiki but it gave an error when I went to search. Error "blah blah cgi-bin/omega/omega" does not exist or some such. I did a