* --getctime had bitrotted (well I only ever used it the once so far..),
[ikiwiki.git] / doc / ikiwiki.setup
1 #!/usr/bin/perl
2 # Configuration file for ikiwiki.
3 # Passing this to ikiwiki --setup will make ikiwiki generate two
4 # wrapper programs, one for cgi and one for a subversion post-commit hook.
5 #
6 # Remember to re-run ikiwiki --setup any time you edit this file.
7
8 use IkiWiki::Setup::Standard {
9         wikiname => "MyWiki",
10         #adminuser => ["yourname", ],
11         adminemail => 'me@myhost',
12         
13         # Be sure to customise these..
14         srcdir => "/path/to/source",
15         destdir => "/var/www/wiki",
16         
17         url => "http://myhost/wiki",
18         cgiurl => "http://myhost/ikiwiki.cgi",
19         #historyurl => "http://svn.myhost/trunk/[[file]]",
20         #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
21         #templatedir => "/usr/share/ikiwiki/templates",
22         
23         #rcs => "", # don't use svn
24         rcs => "svn", # use svn (the default)
25         svnrepo => "/svn/wiki",
26         svnpath => "trunk",
27
28         wrappers => [
29                 {
30                         # The svn wrapper.
31                         # Note that this will overwrite any exsting
32                         # post-commit hook script, which may not be
33                         # what you want.
34                         wrapper => "/svn/wiki/hooks/post-commit",
35                         wrappermode => "04755",
36                         # Enable mail notifications of commits.
37                         notify => 1,
38                 },
39                 #{
40                 #       # The cgi wrapper.
41                 #       cgi => 1,
42                 #       wrapper => "/var/www/wiki/ikiwiki.cgi",
43                 #       wrappermode => "06755",
44                 #},
45         ],
46         
47         # Can anonymous web users edit pages?
48         #anonok => 1,
49         # Generate rss feeds for pages?
50         rss => 1,
51         # Include discussion links on all pages?
52         discussion => 1,
53         # To change the enabled plugins, edit this list
54         #plugin => [qw{pagecount inline brokenlinks search smiley
55         #              htmlscrubber}],
56 }