Creating a Blank Wiki
Make a clone of the Wiki with:
git clone git://www.fdsd.co.uk/viki
Delete any unwanted webs, e.g. Business and Tech:
cd viki rm -rf Business Tech
Create a directory for your new web:
mkdir MyWeb
Modify the Makefile with the active web names:
sed -i s/SUBDIRS=Tech Business/SUBDIRS=MyWeb/ Makefile
Modify the Apache configuration file to contain only the active web names
sed -i ‘s/RewriteRule ^(Viki|Tech|Business)/RewriteRule ^(Viki|MyWeb)/’
./etc/apache/viki
If using [Nginx][], make appropriate changes to the rewrite rule
documented in [VikiHosting](VikiHosting.html).
- Commit your changes to Git
Related Topics: ConfiguringRemoteRepository, AboutViki, VikiHosting
– Frank Dean - 20 Feb 2010