Skip to content

Installation

dossist edited this page Jul 26, 2014 · 7 revisions

Install

  1. Get files by cloning the repository or download a zip and unpack it.
    To clone:

    $ git clone https://github.com/dossist/moinmoin-memodump.git
  2. Copy memodump.py into plugin directory data/plugin/theme/. Location of the directory varies according to how you installed MoinMoin.

  3. Copy directory memodump into static files directory MoinMoin/web/static/htdocs/. Again location of that directory will vary. It could be:

    • /usr/share/moin/htdocs if you installed MoinMoin from Ubuntu package
    • /usr/local/lib/python2.7/dist-packages/MoinMoin/web/static/htdocs if you installed MoinMoin from zip
    • and so on
  4. Done! If you run MoinMoin on a server, you might have to terminate running MoinMoin processes to reflect changes.
    e.g. on Ubuntu:

    $ pkill moin

How to use

There are two ways to apply the theme.

As your personal theme

If you want to keep the default theme unchanged, go for this.

  • Log into your wiki and go to user preferences page. (Settings near the upper left corner, then Preferences)
  • Choose memodump from Preferred theme dropdown box.
  • Hit save button at the bottom of the page.

As the default theme

Edit wikiconfig.py to change theme_default.

    theme_default = 'memodump'

Please note that indentations are important in python codes, and here you must indent the line by exactly 4 spaces.

Clone this wiki locally