summaryrefslogtreecommitdiff
path: root/ikiwiki.setup
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-13 19:29:21 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-13 19:29:21 +0000
commit2e1417eb08f18ffebcec76d994777d2413e0fcde (patch)
tree0b697951a525e78f9d24c09008ee727dc03b16fe /ikiwiki.setup
parentf7f45d6a0ad41f3cd077b0310ce83f199b658b4d (diff)
document setup files
Diffstat (limited to 'ikiwiki.setup')
-rw-r--r--ikiwiki.setup43
1 files changed, 0 insertions, 43 deletions
diff --git a/ikiwiki.setup b/ikiwiki.setup
deleted file mode 100644
index 5a902a23c..000000000
--- a/ikiwiki.setup
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/usr/bin/perl
-# Configuration file for ikiwiki.
-# Passing this to ikiwiki --setup will make ikiwiki generate tw
-# wrapper programs, one for cgi and one for a subversion post-commit hook.
-#
-# Remember to re-run ikiwiki --setup any time you edit this file.
-
-%config=(%config,
-
- wikiname => "MyWiki",
-
- # Be sure to customise these..
- srcdir => "/path/to/source",
- templatedir => "/path/to/templates",
- destdir => "/var/www/wiki",
- url => "http://myhost/wiki",
- cgiurl => "http://myhost/ikiwiki.cgi",
- #historyurl => "http://svn.myhost/trunk/[[]]",
-
- # Whether to integrate with svn.
- svn => 1,
- svnrepo => "/svn/wiki",
-
- # Can anonymous web users edit pages?
- #anonok => 1,
-
-);
-
-gen_wrapper(%config,
-
- cgi => 1,
- wrapper => "$config{destdir}/ikiwiki.cgi",
- wrappermode => 06755,
-
-);
-gen_wrapper(%config,
-
- # Note that this will overwrite any exsting post-commit hoo
- # script, which may not be what you want.
- wrapper => "$config{svnrepo}/hooks/post-commit",
- wrappermode => 04755,
-
-) if $config{$svn};