[Grok-dev] Re: Dual "zopect"l / "paster serve" buildout
michael at d2m.at
Thu Jun 12 02:29:22 EDT 2008
Michael Haubenwallner schrieb:
> Kevin Teague yesterday pointed to
> with Chris McDonough in the further discussion suggesting '... running
> Grok via "paster serve" out of the box by default as a WSGI app.'
> I've been wanting this way too long now. Today i started a modification
> of grokproject to include the templates and a modified buildout to
> support both, the "zopectl" (twisted) and the "paster serve" configuration.
> There are a few conceptional edges, but the changes are working and
> tests are passing.
> Any objections to put this on a grokproject branch?
Branch is added at
To start the Zope server, choose one of the two command schemes::
- ``bin/zopectl fg``
starts the twisted server
- ``bin/paster serve etc/debug.ini``
starts the pythonpaste http server with debug enabled
- ``bin/paster serve etc/deploy.ini``
starts the pythonpaste http server without error console
When using paster, automatic reloading after code changes can be enabled
- ``bin/paster serve --reload etc/debug.ini``
The additional paster templates are taken from zopeproject.
Comments are welcome.
More information about the Grok-dev