[Grok-dev] grokdeploy tool idea

Christian Theune ct at gocept.com
Tue Jun 3 11:07:09 EDT 2008


On Tue, Jun 03, 2008 at 02:36:58PM +0200, Martijn Faassen wrote:
> Hi there,
>
> Tim Terlegård just mentioned that the google app engine has a really  
> easy way to deploy your locally developed code to its server, and that  
> it'd be cool if Grok had something like that too.
>
> So, let's imagine a tool called 'grokdeploy'. grokdeploy can take a grok  
> project and deploy it to a WSGI compliant server. It does this by baking  
> an egg from the current project, and transfers it along with some config  
> files (buildout.cfg? paste config files?) to a WSGI compliant server,  
> and installs it into that server. It is driven by either commandline  
> arguments or some config file. The grokdeploy config file could be  
> placed in the current directory, along the lines of, along the lines of  
> buildout.cfg, and found automatically.
>
> So, given a grok project, you could do the following in its project  
> directory:
>
>   $ cd myproject
>   $ bin/grokdeploy
>   Deploying application
>   Baking egg..
>   Uploading to http://www.example.com/...
>   Done! Application is running on:
>   http://www.example.com
>   $
>
> You'd typically only want to run this from a tag, of course, if you're  
> wise. :)
>
> Ideas? Comments? Volunteers to implement all this?

I'm kind of volunteering, as gocept is investigating something along these
lines for our upcoming Zope hosting service and we'd be happy to incorporate
tools like that (and help writing them).

Obviously the specifics are sketched out very well already and we only need to
implement the 'baking egg' and 'Uploading to' parts. ;)

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development


More information about the Grok-dev mailing list