Changes

From SME Server

MoinMoin

29 bytes added, 07:38, 1 June 2008
m
Minor layout changes, fixed category name
Create a new ibay for your wiki (make sure you enable web access and CGI). In this example we will use the name 'testwiki' for the ibay. (If you wish to use a different name, please substitute it where you see 'testwiki' anywhere below)</li>
<li>Execute the following on a SME Server shell:
<pre>cd /home/e-smith/files/ibays/testwiki cp -r /usr/share/moin/data cgi-bin cp -r /usr/share/moin/underlay cgi-bin cp /usr/share/moin/config/wikiconfig.py cgi-bin cp /usr/share/moin/server/moin.cgi cgi-bin rm html/index.html cp -r /usr/share/moin/htdocs/* html chown www cgi-bin/data -R chown www cgi-bin/underlay -R</pre>
</li></ol>
===Configuration===
<ol><li>Edit wikiconfig.py in your cgi-bin directory. Find and change the following lines:
<pre>sitename = u'My Test Wiki' logo_string = u'<img src="/testwiki/common/moinmoin.png" alt=MoinMoin Logo">' url_prefix = '/testwiki'</pre>
</li><li>Edit index.html in the html directory. There are two occurrences of 'moin.cgi' in this file. They need to be prepended by 'cgi-bin/' so that they say 'cgi-bin/moin.cgi'
</li><li>Test the Wiki in Your Browser
Now open up a browser window and go to <nowiki>http://your-server/testwiki</nowiki>.
If the installation has worked then you should see 'My Test Wiki' in the title bar and MoinMoin displaying in the browser. If only text shows up in the browser and no images, check that you have correctly set the url_prefix in wikiconfig.py as described above. If you have any other errors, please check that have followed all the instructions correctly.</li></ol>

Navigation menu