Wednesday, July 25, 2012

Grok framework quickstart template for OpenShift using the DIY cartridge

Another OpenShift goodness for Zope developers. A quickstart template for the Grok framework! Grok is now deployable easily on!

Check it out here:

Grok on OpenShift

Unlike the Plone template which is pretty straightforward, the Grok template requires some additional steps to initialize the project. This is mainly due to Grok projects are packaged in python eggs by default, so the package name is quite important. A preconfigured package name would surely cause name clashes.

To initialize the project, just run with your project name as the parameter. The script will automatically install grokproject, create your project, move the files around so that it works nicely with OpenShift, and add the necessary files into the git repo.

  • Create a grok project using your own custom project name
  • Deploy your application using the environment variables of OpenShift
  • Build process, caching and storage is implemented the in a very similar way with the Plone template I created earlier.
Post a Comment
Locations of visitors to this page