Re: Development version and Twisted

Paul Moore <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <[email protected]>
Paul Moore <[email protected]> writes:

> It wasn't hard to get something basic running.

I've hacked on this a bit more, and have got a setup which supports
the Twisted "mktap" framework. I've attached the necessary files -
unzip the archive into your MoinMoin package directory
(.../lib/site-packages/MoinMoin) and that should be all.

To create a ".tap" file, just do

    mktap MoinMoin -p <port> -d <htdocs> -l <logfile> -I <instance>

<logfile> can default (the default is None, ie, log to stdout). <port>
defaults to 8080. <htdocs> should be specified as the location of
the "shared" htdocs (where img and CSS files come from). For my
Windows setup, this is C:\Apps\Python\share\moin\htdocs, but I'm not
sure there is a useful default. <instance> is the directory of the
instance - it's where the moin_config.py file is stored, and where the
server's current directory is at the start (so data_dir = './data/' in
moin_config.py works).

To run the server, just do

    twistd -f MoinMoin.tap

MoinMoin.tap is the file created by mktap above.

Hope this is useful,
Paul.

-- 
This signature intentionally left blank
twisted-support.zip (application/zip, 1.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.