Setup Notes for this Wiki
The setup was mainly performed using the instructions of these sites:
Of course together with instructions from the main MoinMoin site:
Install Location
# export PREFIX=$HOME/local # python setup.py install --prefix=$PREFIX --record=install.log # export SHARE=$PREFIX/share/moin # export WIKILOCATION=$HOME/wikidata # export INSTANCE=content
Install Tuning
.htaccess file tuning for FastCGI and rewrites to get rid of URLs containing ugly moin.cgi or moin.fcg:
AddHandler fcgid-script .fcg ReWriteEngine on #ReWriteRule ^content(/.*)? moin.cgi$1 ReWriteRule ^content(/.*)? moin.fcg$1 RequestHeader set X-Moin-Location /content
Customisation
Theme
To get the brain theme, drop it into here:
$WIKILOCATION/content/data/plugin/theme
Frame Parser
Get the frame parser from here: ParserMarket/Frame
Copy it into the instance's parser directory:
# cp ~/text_x_frame-1.6.0-5.py ~/wikidata/content/data/plugin/parser/Frame.py
Upgrade to Newer Version
- Dowload newest version
- Unpack the tar ball
- Go to unpacked directory
# MoinMoin/script/moin.py --config-dir=../wikidata/content --wiki-url=researchroadmap.org/content/ migration data # export PREFIX=$HOME/local # python setup.py install --prefix=$PREFIX --record=install.log # cp -R ~/local/share/moin/htdocs/* ~/public_html/moin_static/. # ln -s ~/wikidata/content/data/plugin/theme/brain ~/public_html/moin_static/. # ln -s ~/wikidata/content/data/plugin/theme/brain.py ~/public_html/moin_static/.