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/apache22www/ikiwiki(with theikiwiki-searchoption and CVS-relatedLOCALPATCHES)www/cvswebdevel/cvsps- created a 
wikiuser - 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 
cvswebinto~/cgi/cvsweband pointed it at~/etc/cvsweb.conf - placed the CVS plugin (not yet included in ikiwiki) in 
~/perl/IkiWiki/Plugin/cvs.pm - created 
~/src and ~/htmldirectories - ran 
ikiwiki-makerepo cvs ~/src ~/cvsrootto import~/srcinto a new repository and configure the ikiwiki post-commit hook - ran 
ikiwiki ~/src ~/html --libdir ~/perl --url=http://testwiki.ipv6.de --dumpsetup ~/etc/ikiwiki.confto create a config file - tweaked 
~/wiki/etc/ikiwiki.confconsiderably (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.confto generate pages and the CGI and post-commit wrappers - copied 
cvsweb.css, the NetBSD.orgfavicon.ico, and a downloaded stylesheet into~/src,cvs added them (with-kbfor the icon) andcvs commited to test that the post-commit hook regenerates the site - started Apache
 - added a cron job for ikiwiki's feed aggregator
 
