Another OpenShift goodness for Zope developers. A quickstart template for the Grok framework! Grok is now deployable easily on openshift.redhat.com!
Check it out here: https://github.com/kagesenshi/grok-openshift-quickstart
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 initialize.py 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.
Features
Check it out here: https://github.com/kagesenshi/grok-openshift-quickstart
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 initialize.py 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.
Features
- 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.