summaryrefslogtreecommitdiff
path: root/ikiwiki_nb.setup
blob: a178915c02a62451eddfd4881a29d41db5c0698b (plain)
  1. #!/usr/bin/perl
  2. # Configuration file for ikiwiki.
  3. # Passing this to ikiwiki --setup will make ikiwiki generate wrappers and
  4. # build the wiki.
  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.     adminemail => 'me@example.org',
  11.     # Be sure to customise these..
  12.     srcdir => $ENV{'HOME'} . "/private_webdata/samplewiki/content_dummy_da",
  13.     destdir => $ENV{'HOME'} . "/public_websites/wiki.example.org",
  14.     url => "http://wiki.example.org",
  15.     cgiurl => "http://wiki.example.org/ikiwiki.nb.cgi",
  16.     templatedir => $ENV{'HOME'} . "/private_webdata/samplewiki/templates_nonedit_l10n/nb",
  17.     underlaydirs => [
  18.         $ENV{'HOME'} . "/private_webdata/samplewiki/content_l10n/nb",
  19.         #$ENV{'HOME'} . "/private_webdata/samplewiki/smiley_l10n/nb",
  20.         $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki_nonedit_l10n/nb",
  21.         ],
  22.     # Some plugins (smiley in particular) need non-localized master underlay
  23.     underlaydir => $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki_nonedit",
  24.     # Git stuff.
  25.     #rcs => "git",
  26.     #historyurl => "http://git.example.org/?p=samplewiki_content.git;a=history;f=[[file]]", # ;hb=master
  27.     #diffurl => "http://git.example.org/?p=samplewiki_content.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]",
  28.     #gitorigin_branch => "samplewiki",
  29.     #gitmaster_branch => "master",
  30.     wrappers => [
  31.         #{
  32.         #   # The cgi wrapper.
  33.         #   cgi => 1,
  34.         #   wrapper => $ENV{'HOME'} . "/public_cgi/wiki.example.org/ikiwiki.nb.cgi",
  35.         #   wrappermode => "06755",
  36.         #},
  37.         #{
  38.         #   # The git post-update wrapper.
  39.         #   # Note that this will overwrite any existing
  40.         #   # post-update hook script, which may not be
  41.         #   # what you want.
  42.         #   wrapper => $ENV{'HOME'} . "/public_websites/git.example.org/samplewiki_content.git/hooks/post-update-ikiwiki-nb",
  43.         #   wrappermode => "06755",
  44.         #},
  45.     ],
  46.     # Default to generating rss feeds for pages with feeds?
  47.     #rss => 1,
  48.     # Default to generating atom feeds for pages with feeds?
  49.     #atom => 1,
  50.     # Allow generating feeds even if not generated by default?
  51.     #allowrss => 1,
  52.     #allowatom => 1,
  53.     # Urls to ping with XML-RPC when feeds are updated
  54.     #pingurl => [qw{http://rpc.technorati.com/rpc/ping}],
  55.     # Include discussion links on all pages?
  56.     discussion => 1,
  57.     # To exclude files matching a regexp from processing. This adds to
  58.     # the default exclude list.
  59.     #exclude => qr/\.wav$/,
  60.     # To change the extension used for generated html files.
  61.     #htmlext => 'htm',
  62.     # Time format (for strftime)
  63.     #timeformat => '%c',
  64.     # Locale to use. Must be a UTF-8 locale.
  65.     locale => 'nb_NO.UTF-8',
  66.     # Only send cookies over SSL connections.
  67.     #sslcookie => 1,
  68.     # Logging settings:
  69.     #verbose => 1,
  70.     syslog => 0,
  71.     # To link to user pages in a subdirectory of the wiki.
  72.     #userdir => "users",
  73.     # To create output files named page.html rather than page/index.html.
  74.     #usedirs => 0,
  75.     # Simple spam prevention: require an account-creation password.
  76.     #account_creation_password => "example",
  77.     # Cost of generating a password using Authen::Passphrase::BlowfishCrypt
  78.     #password_cost => 8,
  79.     # Uncomment to force ikiwiki to run with a particular umask.
  80.     #umask => 022,
  81.     # Default settings for the recentchanges page.
  82.     #recentchangespage => "recentchanges",
  83.     #recentchangesnum => 100,
  84.     # Use new '!'-prefixed preprocessor directive syntax
  85.     #prefix_directives => 1,
  86.     # Attempt to make hardlinks to source files instead of copying them.
  87.     # Useful if the wiki contains large media files.
  88.     #hardlink => 1,
  89.     # Enable use of multimarkdown features in .mdwn files.
  90.     #multimarkdown => 1,
  91.     # To add plugins, list them here.
  92.     #add_plugins => [qw{goodstuff search wikitext camelcase
  93.     #                   htmltidy fortune sidebar map rst anonok}],
  94.     # If you want to disable any of the default plugins, list them here.
  95.     #disable_plugins => [qw{inline htmlscrubber passwordauth openid}],
  96.     # To add a directory to the perl search path, use this.
  97.     #libdir => "/home/me/private_webdata/samplewiki/perl",
  98.     
  99.     # To override environment variable settings, you can list values here.
  100.     #ENV => {
  101.     #   TZ => "America/New_York",
  102.     #   PATH => "/home/me/bin:/usr/local/bin:/usr/bin:/bin",
  103.     #},
  104.     # For use with the tag plugin, make all tags be located under a
  105.     # base page.
  106.     #tagbase => "tag",
  107.     # For use with the search plugin if the omega cgi is located
  108.     # somewhere else.
  109.     #omega_cgi => "/usr/lib/cgi-bin/omega/omega",
  110.     # For use with the openid plugin, to give an url to a page users
  111.     # can use to signup for an OpenID.
  112.     #openidsignup => "http://myopenid.com/",
  113.     # For use with the mirrorlist plugin, a list of mirrors.
  114.     #mirrorlist => {
  115.     #   mirror1 => "http://hostname1",
  116.     #   mirror2 => "http://hostname2/mirror",
  117.     #},
  118.     
  119.     # For use with the anonok plugin, a PageSpec specifying what
  120.     # pages anonymous users can edit
  121.     #anonok_pagespec => "*",
  122.     
  123.     # For use with the aggregate plugin.
  124.     # Enable aggregation to internal pages. New wikis should set this to 1,
  125.     # but if you use aggregate already, read the aggregate plugin docs
  126.     # before enabling it.
  127.     #aggregateinternal => 1,
  128.     # Allow aggregation to be triggered via the web.
  129.     #aggregate_webtrigger => 1,
  130.     
  131.     # For use with the pinger plugin, how many seconds to wait before
  132.     # timing out.
  133.     #pinger_timeout => 15.
  134.     
  135.     # For use with the amazon S3 plugin, your public access key id.
  136.     #amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX',
  137.     # And a file holding your secret key. This file *must* not be
  138.     # readable by others!
  139.     #amazon_s3_key_file => "/home/me/secret_webdata/s3_key
  140.     # The globally unique name of the bucket to use to store the wiki.
  141.     #amazon_s3_bucket => "mywiki",
  142.     # A prefix to prepend to each page name.
  143.     #amazon_s3_prefix => "wiki/",
  144.     # Uncomment to use the S3 European datacenter.
  145.     #amazon_s3_location => "EU",
  146.     # Uncomment if you need to store each index file twice.
  147.     #amazon_s3_dupindex => 1,
  148.     
  149.     # For use with the attachment plugin, a program that returns
  150.     # nonzero if its standard input contains an virus.
  151.     #virus_checker => "clamdscan -",
  152. }