From e73c40c6ea8ff33e551d35dc722fa5f69292e358 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 10 Aug 2008 12:46:47 +0200 Subject: Adapt ikiwiki.setup paths to common usage. --- ikiwiki.setup | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/ikiwiki.setup b/ikiwiki.setup index 31a60b9..16e0ee8 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -11,13 +11,13 @@ use IkiWiki::Setup::Standard { adminemail => 'me@example.org', # Be sure to customise these.. - srcdir => "/path/to/source", - destdir => "/var/www/wiki", + srcdir => $ENV{'HOME'} . "/private_webdata/examplewiki/content", + destdir => $ENV{'HOME'} . "/public_websites/wiki.example.org/wiki", - url => "http://example.org/wiki", - cgiurl => "http://example.org/wiki/ikiwiki.cgi", - #templatedir => "/usr/share/ikiwiki/templates", - #underlaydir => "/usr/share/ikiwiki/basewiki", + url => "http://wiki.example.org", + cgiurl => "http://wiki.example.org/ikiwiki.cgi", + templatedir => $ENV{'HOME'} . "/private_webdata/samplewiki/templates", + underlaydir => $ENV{'HOME'} . "/private_webdata/samplewiki/basewiki", # Subversion stuff. #rcs => "svn", @@ -28,9 +28,9 @@ use IkiWiki::Setup::Standard { # Git stuff. #rcs => "git", - #historyurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=history;f=[[file]]", - #diffurl => "http://git.example.org/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]", - #gitorigin_branch => "origin", + #historyurl => "http://git.example.org/?p=samplewiki_content.git;a=history;f=[[file]]", # ;hb=master + #diffurl => "http://git.example.org/?p=samplewiki_content.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];f=[[file]]", + #gitorigin_branch => "samplewiki", #gitmaster_branch => "master", # Tla stuff. @@ -63,7 +63,7 @@ use IkiWiki::Setup::Standard { #{ # # The cgi wrapper. # cgi => 1, - # wrapper => "/var/www/wiki/ikiwiki.cgi", + # wrapper => $ENV{'HOME'} . "/public_cgi/wiki.example.org/ikiwiki.cgi", # wrappermode => "06755", #}, #{ @@ -82,7 +82,7 @@ use IkiWiki::Setup::Standard { # # Note that this will overwrite any existing # # post-update hook script, which may not be # # what you want. - # wrapper => "/git/wiki.git/hooks/post-update", + # wrapper => $ENV{'HOME'} . "/public_websites/git.example.org/samplewiki_content.git/hooks/post-update-ikiwiki", # wrappermode => "06755", #}, #{ @@ -144,7 +144,7 @@ use IkiWiki::Setup::Standard { # If you want to disable any of the default plugins, list them here. #disable_plugins => [qw{inline htmlscrubber passwordauth openid}], # To add a directory to the perl search path, use this. - #libdir => "/home/me/.ikiwiki/", + #libdir => "/home/me/private_webdata/samplewiki/perl", # To override environment variable settings, you can list values here. #ENV => { @@ -190,7 +190,7 @@ use IkiWiki::Setup::Standard { #amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX', # And a file holding your secret key. This file *must* not be # readable by others! - #amazon_s3_key_file => "/home/me/.hide/.s3_key + #amazon_s3_key_file => "/home/me/secret_webdata/s3_key # The globally unique name of the bucket to use to store the wiki. #amazon_s3_bucket => "mywiki", # A prefix to prepend to each page name. -- cgit v1.2.3 From 4b7c6e85f816bee9b1ba41f92ba6039add137e25 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 10 Aug 2008 12:49:33 +0200 Subject: Disable locales and flavors by default. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 10ef01b..43dd7f3 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,11 @@ SOURCES = ikiwiki ikiwiki_ORIGIN = git://source.jones.dk/ikiwiki_MODULE ikiwiki_MODULES = templates basewiki smiley -ikiwiki_basewiki_FLAVORS = nonedit -ikiwiki_templates_FLAVORS = nonedit +#ikiwiki_basewiki_FLAVORS = nonedit +#ikiwiki_templates_FLAVORS = nonedit ikiwiki_POMODULES = basewiki smiley ikiwiki_BRANCH = master-FLAVOR-LOCALE -ikiwiki_LOCALES = da nb +#ikiwiki_LOCALES = da nb ikiwiki_POLOCALES = da #dummy_MODULES = content_dummy -- cgit v1.2.3