summaryrefslogtreecommitdiff
path: root/ikiwiki_da.setup
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki_da.setup')
-rw-r--r--ikiwiki_da.setup45
1 files changed, 13 insertions, 32 deletions
diff --git a/ikiwiki_da.setup b/ikiwiki_da.setup
index 91a5651..52a36fd 100644
--- a/ikiwiki_da.setup
+++ b/ikiwiki_da.setup
@@ -5,24 +5,6 @@
# wrappers and build the wiki.
#
# Remember to re-run ikiwiki --setup any time you edit this file.
-
-our $libdir;
-our $webdir;
-our $cgidir;
-our $gitdir;
-our $webhost;
-our $githost;
-our $gitrepo;
-BEGIN {
- $libdir = $ENV{'PWD'} . '/perl';
- $webdir = 'build/html';
- $cgidir = 'build/cgi';
- $gitdir = 'build/git';
- $webhost = 'wiki.example.org';
- $githost = 'git.example.org';
- $gitrepo = 'wiki';
-}
-
use IkiWiki::Setup::Standard {
# name of the wiki
wikiname => 'MyWiki',
@@ -33,34 +15,33 @@ use IkiWiki::Setup::Standard {
# users who are banned from the wiki
banned_users => [],
# where the source of the wiki is located
- srcdir => 'content_dummy',
+ srcdir => 'content_dummy_da',
# where to build the wiki
- destdir => $webdir,
+ destdir => $ENV{'HOME'} . '/public_websites/wiki.example.org',
# base url to the wiki
- url => 'http://' . $webhost . '/',
+ url => 'http://wiki.example.org',
# url to the ikiwiki.cgi
- cgiurl => 'http://' . $webhost . '/ikiwiki.cgi',
+ cgiurl => 'http://wiki.example.org/ikiwiki.da.cgi',
# cgi wrapper to generate
- cgi_wrapper => $cgidir . '/ikiwiki.cgi',
+ cgi_wrapper => $ENV{'HOME'} . '/public_cgi/wiki.example.org/ikiwiki.da.cgi',
# mode for cgi_wrapper (can safely be made suid)
cgi_wrappermode => '00755',
# rcs backend to use
rcs => 'git',
# plugins to add to the default configuration
- add_plugins => [qw{
- }],
+ add_plugins => [],
# plugins to disable
disable_plugins => [qw{
editpage
}],
# location of template files
- templatedir => 'templates',
+ templatedir => $ENV{'HOME'} . '/private_webdata/samplewiki/templates_da',
# base wiki source location
underlaydirs => [
- 'content',
+ 'content_da',
],
# Some plugins (smiley in particular) need non-localized master underlay
- underlaydir => 'basewiki',
+ underlaydir => 'basewiki_da',
# display verbose messages when building?
#verbose => 1,
# log to syslog?
@@ -78,7 +59,7 @@ use IkiWiki::Setup::Standard {
# extension to use for new pages
default_pageext => 'mdwn',
# extension to use for html files
- htmlext => 'html',
+ htmlext => 'da.html',
# strftime format string to display date
timeformat => '%c',
# UTF-8 locale to use
@@ -92,7 +73,7 @@ use IkiWiki::Setup::Standard {
# force ikiwiki to use a particular umask
#umask => 022,
# extra library and plugin directory
- libdir => $libdir,
+ libdir => $ENV{'HOME'} . '/private_webdata/samplewiki/perl',
# environment variables
ENV => {},
# regexp of source files to ignore
@@ -112,7 +93,7 @@ use IkiWiki::Setup::Standard {
# public access key id
#amazon_s3_key_id => 'XXXXXXXXXXXXXXXXXXXX',
# file holding secret key (must not be readable by others!)
- #amazon_s3_key_id => 's3_key',
+ #amazon_s3_key_id => $ENV{'HOME'} . '/secret_webdata/s3_key',
# globally unique name of bucket to store wiki in
#amazon_s3_bucket => 'mywiki',
# a prefix to prepend to each page name
@@ -154,7 +135,7 @@ use IkiWiki::Setup::Standard {
# gitweb url to show file history ([[file]] substituted)
#historyurl => 'http://' . $githost . '/gitweb.cgi?p=wiki.git;a=history;f=[[file]];hb=master-da',
# gitweb url to show a diff ([[sha1_to]], [[sha1_from]], [[sha1_parent]], and [[file]] substituted)
- #diffurl => 'http://' . $githost . '/gitweb.cgi?p=wiki.git;a=blobdiff;h=[[sha1_to]];hp=[[sha1_from]];hb=[[sha1_parent]];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]]',
# where to pull and push changes (set to empty string to disable)
#gitorigin_branch => 'samplewiki',
# branch that the wiki is stored in