summaryrefslogtreecommitdiff
path: root/doc/ikiwiki.setup
blob: e8048c3b0a3a1fcc49e8bd275a66e32e500340be (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. %setup=(
  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. # The svn wrapper.
  20. svnwrapper => {
  21. # Note that this will overwrite any exsting post-commit hoo
  22. # script, which may not be what you want.
  23. wrapper => "$config{svnrepo}/hooks/post-commit",
  24. wrappermode => 04755,
  25. },
  26. # The cgi wrapper.
  27. #cgiwrapper => {
  28. # cgi => 1,
  29. # wrapper => "/var/www/wiki/ikiwiki.cgi",
  30. # wrappermode => 06755,
  31. #},
  32. # Can anonymous web users edit pages?
  33. #anonok => 1,
  34. );