Just FYI to anyone interested, I've put together a web2py template for 
OpenShift <https://openshift.redhat.com/app/> (Red Hat's Opensource PaaS). 

You can find it here: - https://github.com/prelegalwonder/openshift_web2py

I've also put together a basic openshift deployer from the admin page, and 
you can grab the changes from my fork of web2py 
- https://github.com/prelegalwonder/web2py
It's just 3 files in the admin app:
 controllers/openshift.py
 views/openshift/deploy.html
and a modification to views/default/site.html

It's only requirement to work beyond having a local working openshift 
project is GitPython installed and accessible from the runtime that web2py 
is running in.

So you can either run the admin app in the cloud and access it directly or 
run a local web2py instance and execute the deployer when you want to test 
out your changes. 

I'm working on a detailed blog that I intent to submit to the OpenShift 
team so they can put it on their site for getting started. 

Enjoy

Reply via email to