Excellent, thanks.

I haven't really looked at the newly built in OpenShift feature, but I'm
pretty sure it just facilitates updating the application on OpenShift,
rather than the application + web-framework.

On Thu, Jul 26, 2012 at 6:23 AM, Andrew Replogle
<[email protected]>wrote:

> I haven't attempted with a recent release. I'll pull down trunk and see if
> I can get the admin working.
>
> Keep in mind that when an OpenShift gear is started, your configuration is
> copied from the git area to a runtime area and executed from there. So,
> while I haven't tested this and can't confirm for certain, I don't think
> code changes you'd make from the web IDE would persist between restarts
> unless you exported and re-imported the application.
>
> I think the ability to import / pull and push to git repo's will solve
> this issue and I'm working to evolve that functionality and add hg support
> as well.
>
> Keep in mind there's also the OpenShift deployer in trunk that you can use
> to develop locally and deploy your changes as long as your openshift
> template is on the same system.
>
> Regards,
> Andrew
>
>
> On Wed, Jul 25, 2012 at 2:15 PM, Alec Taylor <[email protected]>wrote:
>
>> Looking good, but I was wondering, is it possible to get this working
>> with latest trunk?
>>
>> I tried, but ended up with "Internal error"s before I was even presented
>> with the enter admin password view. The welcome app worked fine though >.<
>>
>> Thanks
>>
>>
>> On Saturday, June 9, 2012 1:07:39 AM UTC+10, Andrew 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 <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<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