NetBSD Wiki/wiki/todo/
set up demo wiki
Having implemented CVS support, we need a test wiki instance in order to evaluate its merits.
spz provided a running system suitable for testing, on which the following was done:
- installed the necessary pkgsrc bits:
www/apache22
www/ikiwiki
(with theikiwiki-search
option and CVS-relatedLOCALPATCHES
)www/cvsweb
devel/cvsps
- created a
wiki
user - created
~/etc/htpasswd
- created
~/etc/apache.conf
(restricting web editing to valid users in~/etc/htpasswd
) and included it from the system'shttpd.conf
- made a copy of
cvsweb
into~/cgi/cvsweb
and pointed it at~/etc/cvsweb.conf
- placed the CVS plugin (not yet included in ikiwiki) in
~/perl/IkiWiki/Plugin/cvs.pm
- created
~/src and ~/html
directories - ran
ikiwiki-makerepo cvs ~/src ~/cvsroot
to import~/src
into a new repository and configure the ikiwiki post-commit hook - ran
ikiwiki ~/src ~/html --libdir ~/perl --url=http://testwiki.ipv6.de --dumpsetup ~/etc/ikiwiki.conf
to create a config file - tweaked
~/wiki/etc/ikiwiki.conf
considerably (for exact changes,diff -u ~/etc/ikiwiki.conf{.default,}
): - added useful plugins, including the CVS plugin
- disabled Discussion subpages
- enabled userdir
- enabled RSS/Atom feed generation
- locked the included ikiwiki documentation against web editing
- ran
ikiwiki --setup ~/etc/ikiwiki.conf
to generate pages and the CGI and post-commit wrappers - copied
cvsweb.css
, the NetBSD.orgfavicon.ico
, and a downloaded stylesheet into~/src
,cvs add
ed them (with-kb
for the icon) andcvs commit
ed to test that the post-commit hook regenerates the site - started Apache
- added a cron job for ikiwiki's feed aggregator
Add a comment