= How to Make a Wiki = We use the MoinMoin wiki. To create a new wiki do the following: 1. from a shell {{{ /group/reason/dream/apache/bin/make_wiki_instance.sh INSTANCE_NAME }}} . where {{{INSTANCE_NAME}}} is the name of your wiki, this is a unix directory name. 2. Edit the files it tells you to, setting {{{INSTANCE_NAME}}} appropriately. Your wiki will be accessible from: . {{{http://dream.inf.ed.ac.uk/cgi-bin/mwiki/INSTANCE_NAME.cgi}}} The files you need to edit are are: . {{{/public/southbridge/dream/cgi/mwiki/INSTANCE_NAME.cgi}}} and . {{{/group/reason/dream/apache/data/moin-instances/INSTANCE_NAME/wikiconfig.py}}} In these, you need to replace {{{INSTANCE_NAME}}} with your wiki name. More info on MoinMoin Wikis can be found at: http://moinmo.in/ = Technical stuff underneath your Wiki = Your wiki is composed of 2 files and 2 directories: * {{{/public/southbridge/dream/cgi/mwiki/INSTANCE_NAME.cgi}}} - this is the cgi script that is run to access your wiki. * {{{/group/reason/dream/apache/data/moin-instances/INSTANCE_NAME/wikiconfig.py}}} - this is the wiki's configuration file. It holds things like paths to other files, how users are authenticated, default permissions, and where to find style sheets for you pages etc. * {{{/group/reason/dream/apache/data/moin-instances/INSTANCE_NAME/data}}} - this holds all the other internal stuff of your wiki, the pages, history etc. * {{{/group/reason/dream/apache/data/moin-instances/INSTANCE_NAME/underlay}}} - this holds all the generic stuff for MoinMoin wikis, info on how to edit pages etc. To delete a wiki you need to remove: {{{/group/reason/dream/apache/data/moin-instances/INSTANCE_NAME}}}, which will need to be done by user apache, or by support, as well as {{{/public/southbridge/dream/cgi/mwiki/INSTANCE_NAME.cgi}}}. = Technical stuff underneath All Dream Wikis = * {{{/group/reason/dream/apache/data/moin-instances/}}} - holds all our MoinMoin wiki directories. This is a safe data directory, not publically accessible, but it is accessible to dreamers. * {{{/group/reason/dream/apache/tools/moin-1.8.2/}}} - is the latest install directory for MoinMoin. This holds the MoinMoin python code, update scripts, etc. This is the {{{PREFIX}}} directory we used to install MoinMoin. * {{{/public/southbridge/dream/cgi-bin/mwiki/}}} - this holds all our wiki cgi scripts. * {{{/public/southbridge/dream/cgi-bin/mwiki/.htaccess}}} - tells apache to use Cosign authentication for our wikis. * {{{/public/southbridge/dream/web/mwiki/}}} - this is publically accessible and holds all wikis shared styles, themes, icons, etc.