]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/ikiwiki.setup
4a08e1919aff3ac1ce92225879ee805c05df3a0c
[git.ikiwiki.info.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.
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         # Whether to integrate with svn.
24         svn => 1,
25         svnrepo => "/svn/wiki",
26         svnpath => "trunk",
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         # Use the Hyper Estraier search engine?
52         #hyperestraier => 1,
53         # Sanitize html?
54         sanitize => 1,
55         # To change the enabled plugins, edit this list
56         #plugins => [qw{pagecount inline brokenlinks}],
57 }