This is really fantastic! Just went to an OpenShift demo and the first thing I wondered was whether web2py was taking advantage of this service.
Just tested it out and works great! Thanks, - Jake On Tue, Jul 3, 2012 at 10:15 PM, Massimo Di Pierro <massimo.dipie...@gmail.com> wrote: > > Thank you. This is great. > > On Friday, 8 June 2012 10:07:39 UTC-5, Andrew wrote: >> >> Just FYI to anyone interested, I've put together a web2py template for >> OpenShift (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