DesktopEdition/HowToConfigure

The DesktopEdition can be configured similarly to a normal MoinMoin installation. You must restart moin.exe/moin.py for changes to take effect.

Basic configuration

Just create a wikiconfig.py file in the directory of the file moin.py/moin.exe. You can use the options listed on the page HelpOnConfiguration.

Here is a sample:

   1 from MoinMoin.multiconfig import DefaultConfig
   2 
   3 class Config(DefaultConfig):
   4     sitename = "My local notebook"
   5     logo_string = u'<img src= "/wiki/mylogo.png"> My local notebook-Wiki'
   6     acl_rights_default = u"All:read,write,delete"

Server configuration

Additionally, you can set some server options like the port etc. in the file wikiserverconfig.py. See HelpOnInstalling/StandaloneServer for the available options.

Here is a sample:

   1 from __main__ import DefaultConfig
   2 class Config(DefaultConfig):
   3     port = 80
   4     interface = "10.0.0.0" # changes the interface where the webserver is bound. use "" for every interface

Dictionary

You can create a dict directory in the MMDE directory and copy dictionary files into it. Then they will be found by the integrated spellchecker.

Plugins/Themes

Of course you can install plugins and themes like you do it normally. If it is a prepared MoinMoin package file, then you just need to upload it and click install on the page which lists all attachments. Otherwise you have to copy the plugin file into the directory wiki/data/plugin/ followed by the type of the plugin. E.g. for a theme you would copy the .py file into wiki/data/plugin/theme directory.

You will need to copy the css and img folders (if you are installing a theme) into a subfolder, which has got the name of your theme, of wiki/htdocs.

last modified 2005-08-04 19:15:29