Differences between revisions 1 and 2
Revision 1 as of 2005-04-12 08:58:12
Size: 1105
Editor: anonymous
Comment: missing edit-log entry for this revision
Revision 2 as of 2009-04-16 08:26:32
Size: 1107
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
[http://twistedmatrix.com Twisted] is a standalone python framework for many kinds of applications. [[http://twistedmatrix.com|Twisted]] is a standalone python framework for many kinds of applications.

Using MoinMoin with Twisted

Twisted is a standalone python framework for many kinds of applications. For MoinMoin, we use twisted as a python web server that just imports MoinMoin persistently.

This has the advantage that the Python interpreter and all Python scripts (including twisted itself and also MoinMoin) is only loaded and initialized one time, and that data can be cached in memory from request to request, enhancing the performance of MoinMoin.

Another advantage is that this is all based on Python. ;)

Deploying MoinMoin with Twisted

First install twisted (see URL above). Many Linux distributions have twisted packages. Please refer to the documentation of twisted how to install it.

Now see wiki/cgi-bin/moin_twisted.sh - maybe you have to slightly adapt the command in there.

Also check wiki/cgi-bin/moin_twisted.py - change the settings in the upper script section to fit your needs.

After setting up your own data directory somewhere, try starting moin_twisted.sh - your wiki should be running now.

HelpOnInstalling/TwistedWeb (last edited 2009-04-16 08:26:32 by localhost)