[Grok-dev] Application Distribution HOWTO

TIm Terlegård tim.terlegard at valentinewebsystems.se
Tue Oct 23 07:34:51 EDT 2007

On Oct 23, 2007, at 11:52 AM, Torvald Bringsvor wrote:

> Yeah, I have read that one. Sorry, it is actually a bit too mini  
> for me. I actually thought buildout was what you would use to make  
> an egg of your application.

No, buildout is not meant for creating eggs. buildout is exactly what
you are asking for, a way to deploy your application on some server(s).

> Seems like the consensus is: use grokproject to make a new instance  
> for your production server, copy everything over.

I wouldn't recommend that. Take a look at existing grok applications
and see how they do it. Take kirbi for instance. This is how to install
kirbi on your desktop or server or wherever:

1) svn co svn+ssh://timt@svn.zope.org/repos/main/grokapps/kirbi/trunk  
2) cd kirbi
3) python boostrap/bootstrap.py
4) ./bin/buildout
5) Run it with ./bin/zopectl fg

So everything that is needed to install the application is found in  
svn and
all you need to do is check out the source and run a few commands.

To create your own buildout I guess you could use the files created
by grokproject. Otherwise you can just copy the kirbi buildout files.


More information about the Grok-dev mailing list