Desktop MoinMoin

Official Setup Instructions

Setting up and running your own local copy of MoinMoin is fairly simple. This is supported "out-of-box" by the MoinMoin distribution.

http://moinmo.in/DesktopEdition

WebWorks Setup Instructions

  1. Download the latest release (currently 1.8.0).
  2. Unzip it.
  3. Update configuration to support XML-RPC.
    • Edit "wikiconfig.py"
         1 class LocalConfig(DefaultConfig):
         2     # vvv DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO vvv
         3     moinmoin_dir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
         4     data_dir = os.path.join(moinmoin_dir, 'wiki', 'data')
         5     data_underlay_dir = os.path.join(moinmoin_dir, 'wiki', 'underlay')
         6 
         7     DesktopEdition = True # give all local users full powers
         8     acl_rights_default = u"All:read,write,delete,revert,admin"
         9     surge_action_limits = None # no surge protection
        10     sitename = u'MoinMoin DesktopEdition'
        11     logo_string = u'<img src="/moin_static180/common/moinmoin.png" alt="MoinMoin Logo">'
        12     page_front_page = u'FrontPage' # change to some better value
        13     # ^^^ DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO ^^^
        14 
        15     # Add your configuration items here.
        16     secrets = 'This string is NOT a secret, please make up your own, long, random secret string!'
        17 
        18 
        19 # DEVELOPERS! Do not add your configuration items there,
        20 # you could accidentally commit them! Instead, create a
        21 # wikiconfig_local.py file containing this:
      
      and add "actions_excluded = []":
         1 class LocalConfig(DefaultConfig):
         2     # vvv DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO vvv
         3     moinmoin_dir = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
         4     data_dir = os.path.join(moinmoin_dir, 'wiki', 'data')
         5     data_underlay_dir = os.path.join(moinmoin_dir, 'wiki', 'underlay')
         6 
         7     DesktopEdition = True # give all local users full powers
         8     acl_rights_default = u"All:read,write,delete,revert,admin"
         9     surge_action_limits = None # no surge protection
        10     sitename = u'MoinMoin DesktopEdition'
        11     logo_string = u'<img src="/moin_static180/common/moinmoin.png" alt="MoinMoin Logo">'
        12     page_front_page = u'FrontPage' # change to some better value
        13     # ^^^ DON'T TOUCH THIS EXCEPT IF YOU KNOW WHAT YOU DO ^^^
        14 
        15     # Add your configuration items here.
        16     secrets = 'This string is NOT a secret, please make up your own, long, random secret string!'
        17 
        18     # Enable xmlrpc
        19     actions_excluded = []
        20 
        21 
        22 # DEVELOPERS! Do not add your configuration items there,
        23 # you could accidentally commit them! Instead, create a
        24 # wikiconfig_local.py file containing this:
      
      NOTE: Whitespace is significant in Python, so put 4 spaces before "actions_excluded = []".
  4. Run with python. Python can be downloaded at http://python.org/download/. Currently recommending version 2.5.2.

    • python wikiserver.py
  5. Access from you browser with http://localhost:8080/.

HelpCenter/Tips/Wiki/Desktop MoinMoin (last edited 2008-11-14 03:03:11 by BenAllums)