UserPreferences

HelpOnInstalling/TwistedWeb


The following 102 words could not be found in the dictionary of 550 words (including 550 LocalSpellingWords) and are highlighted below:

above   adapt   advantage   After   all   Also   also   and   Another   applications   as   based   be   bin   cached   can   change   check   com   command   data   Deploying   directory   distributions   documentation   enhancing   First   fit   For   for   framework   from   has   have   how   imports   in   including   initialized   install   interpreter   is   it   itself   just   kinds   Linux   loaded   Many   many   maybe   memory   needs   now   Now   of   on   one   only   own   packages   performance   persistently   Please   python   Python   refer   request   running   script   scripts   section   see   server   setting   settings   sh   should   slightly   somewhere   standalone   starting   that   the   there   This   this   time   to   try   Twisted   twisted   twistedmatrix   up   upper   use   Using   we   web   with   you   your  

Clear message

Using MoinMoin with Twisted

[WWW]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.