# To setup do
cp -r /usr/share/moin/underlay/ data
-cp -r /usr/share/moin/data/* data/exodus
-rm -r data/exodus/plugin/
-ln -s ../../plugin data/exodus/plugin
-
-cp -r /usr/share/moin/data/* data/extinction
-rm -r data/extinction/plugin/
-ln -s ../../plugin data/extinction/plugin
-
+# Copy template data files for each wiki
+cp -r /usr/share/moin/data/* $SITE_DIR/data/wipi/exodus
+cp -r /usr/share/moin/data/* $SITE_DIR/data/wipi/extinction
+# Remove unused plugin directories
+rm -r $SITE_DIR/data/wipi/exodus/plugin/
+rm -r $SITE_DIR/data/wipi/extinction/plugin/
cp -r conf/dbsettings.py.tmp conf/dbsettings.py
# And edit dbsettings.py
# Set up permissions on the data dir
-sudo chown -R www-data data
-or, in my setup
-sudo chown -R httpd-evolution-events-nl:evolution-events-nl data
-
-# Perhaps also set up the sticky bit, if appropriate (for my setup, this is
-# mostly so the group still has read access).
-sudo chmod -R g+s data
+sudo chown -R httpd-evolution-events.nl:evolution-events-nl www-data $SITE_DIR/data/wipi
-# And copy something out of /usr/share/moin/server to set things up
+# And setup something to start wipi.fcgi and point lighttpd to it.