[Grok-dev] Grok on a Paste
Philipp von Weitershausen
philipp at weitershausen.de
Sun Jul 15 17:17:25 EDT 2007
As some of you know, I've been playing around with running Zope on
PasteDeploy . I consider this or something very similar to this the
deployment model of the future .
After having developed several prototypes , I have now written a tool
called 'zopeproject'  which is to Zope3 what 'grokproject' is to
Grok. The only difference is that it no longer uses an instance recipe
to deploy the Zope application, it uses PasteDeploy.
'zopeproject' actually uses all of the lessons learned from recent
'grokproject' versions, and it abstracts all re-usable parts of the
sandbox creation so that they can be reused. I've created a branch 
of 'grokproject' that builds on 'zopeproject'. This also means that a
Grok application created with this new 'grokproject' is deployed using
PasteDeploy. Therefore, after running grokproject, you'd no longer use
$ bin/zopectl fg
to start up the server, but
$ bin/paster serve deploy.ini
The rest should stay the same.
I would like you guys to take a look at it and test it yourself. After
checking out the branch, simply bootstrap the buildout and run it::
$ path/to/some/buildout bootstrap
Then you'll get a bin/grokproject script that you can use like the one
you already know:
$ bin/grokproject MyGreatApp
I'm looking forward to your feedback.
http://worldcookery.com -- Professional Zope documentation and training
More information about the Grok-dev