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