[Grok-dev] grokdeploy tool idea
Martijn Faassen
faassen at startifact.com
Tue Jun 3 08:36:58 EDT 2008
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?
Regards,
Martijn
More information about the Grok-dev
mailing list