One of our users asked about MoinMoin recently. I got it working, thought I'd share the instructions...
Unfortunately our default MoinMoin install that's in the batteries included won't let you configure a new wiki from scratch, due to a bug in our sandboxing (but we're going to fix it soon!)
You can still get it working if you "roll your own" config. I did it by reinstalling moinmoin from the source tarfile, using the --user
flag:
Start by installing moinmoin to ~/.local using the tarfile:
wget http://static.moinmo.in/files/moin-1.9.7.tar.gz
cd /tmp
tar -xvf moin-1.9.7.tar.gz
cd moin-1.9.7/
python setup.py install --user
Then we start a wiki in a directory called mywiki
cd -
mkdir mywiki
cp ~/.local/share/moin/config/wikiconfig.py mywiki
cp -r ~/.local/share/moin/data mywiki
cp -r ~/.local/share/moin/underlay mywiki
Finally we set up the wsgi config - you will need to have created a web app on pythonanywhere, using eg "manual configuration"
# we start by overwriting the default wsgi file:
cp ~/.local/share/moin/server/moin.wsgi /var/www/wiki_pythonanywhere_com_wsgi.py
# now we edit the wsgi file
# all I changed was the value at section a2)
# sys.path.insert(0, '/home/wiki/mywiki')
vi /var/www/wiki_pythonanywhere_com_wsgi.py
And here it is in all its glory:
http://wiki.pythonanywhere.com/
(coming soon, an official PythonAnywhere wiki for support requests etc)
Feel free to post questions, tips & tricks, corrections here....