Hi Andrew, thank you for sharing. I just tried your template and successfully installed the master (latest development snapshot of web2py). But since I want to use the latest stable version I deleted everything (local and remote installation) again and started again:
rhc app create -a web2py -t python-2.6 cd web2py git remote add upstream -m 2.5.1 git://github.com/prelegalwonder/openshift_web2py.git git pull -s recursive -X theirs upstream 2.5.1 git push After having no success with version 2.5.1 I again deleted everything and tried the version you name in your example: rhc app create -a web2py -t python-2.6 cd web2py git remote add upstream -m 2.3.2 git://github.com/prelegalwonder/openshift_web2py.git git pull -s recursive -X theirs upstream 2.3.2 git push Again no success. I receive the following error message: To ssh://....rhcloud.com/~/git/web2py.git/ ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://....rhcloud.com/~/git/web2py.git/' Any idea what's going wrong? Best, xelomac On Friday, June 8, 2012 5:07:39 PM UTC+2, Andrew Replogle wrote: > > 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 > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.