summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: 7a561434e12a64f27a5361ffc36e3f8995eac2a9 (plain)
  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. use IkiWiki::Setup::Standard {
  8. wikiname => "MyWiki",
  9. #adminuser => ["yourname", ],
  10. # Be sure to customise these..
  11. srcdir => "/path/to/source",
  12. destdir => "/var/www/wiki",
  13. templatedir => "/usr/share/ikiwiki/templates",
  14. url => "http://myhost/wiki",
  15. cgiurl => "http://myhost/ikiwiki.cgi",
  16. #historyurl => "http://svn.myhost/trunk/[[file]]",
  17. #diffurl => "http://svn.someurl/trunk/[[file]]?root=wiki&r1=[[r1]]&r2=[[r2]]",
  18. # Whether to integrate with svn.
  19. svn => 1,
  20. svnrepo => "/svn/wiki",
  21. wrappers => [
  22. {
  23. # The svn wrapper.
  24. # Note that this will overwrite any exsting
  25. # post-commit hook script, which may not be
  26. # what you want.
  27. wrapper => "/svn/wiki/hooks/post-commit",
  28. wrappermode => 04755,
  29. },
  30. {
  31. # The cgi wrapper.
  32. #cgiwrapper => {
  33. # cgi => 1,
  34. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  35. # wrappermode => 06755,
  36. #},
  37. },
  38. ],
  39. # Can anonymous web users edit pages?
  40. #anonok => 1,
  41. }