Re: [web2py] Re: Web2Py on OpenShift

2013-02-01 Thread Chetan Patil
Hello Andrew,

Thanks for your help due to which I was able to get web2py app up and
running.

May you please point me to some weblinks where in I will be able to
understand on how to host only the application and to avoid visitors
to navigate into web2py IDE and other admins links.

Like I just want this link to be active and nothings else :
rhAppname/myapp/default/index

-- 
Thank You and Warm Regards,

Chetan Arvind Patil,
www.chetanpatil.info

-- 

--- 
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.




Re: [web2py] Re: Web2Py on OpenShift

2013-02-01 Thread Chetan Patil
Hello Andrew,

On Sat, Feb 2, 2013 at 8:53 AM, Chetan Patil  wrote:

> Now the issue is :
>
> I have followed the password hashed line as you said i.e. to copy
> parameters_8080.oy to wsgi/web2py.
>
> However the applications I see in the web2py on openshift link of mine
> doesn't contain my application. It contains default application, even those
> which I had deleted. How can this be possible ?
>

Fine. I got whats happening now. The web2py on openshift is fetching files
under wsgi/web2py

After moving application under wsgi/web2py/application things got working.

-- 
Thank You and Warm Regards,

Chetan Arvind Patil,
www.chetanpatil.info

-- 

--- 
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.




Re: [web2py] Re: Web2Py on OpenShift

2013-02-01 Thread Chetan Patil
Hello Andrew

On Fri, Feb 1, 2013 at 11:43 PM, Andrew  wrote:

> Ok that's the first (and hopefully only!) problem. That's the default
> application file.  Each application will need a slightly different
> wsgi-handler and I had to tweak it for OpenShift. You need to use the one
> from the Github project here:
>
>
> https://github.com/prelegalwonder/openshift_web2py/blob/master/wsgi/application
>
> Like I said, the fastest way is to follow the readme verbatim since those
> git commands replicate the template in the github project and then you just
> make your customizations from there and commit / push.
>

> Let me know how that works.
>

Thanks for your reply. Appreciate it.

 I'm a beginner here and all I'm doing is the manual work. This is what I
did :

1) First I updated the application file as your said and did commit push
and I got : Internal Server Error. At least something is happening now.

2) Then to make things work, I ran those two git commands and it got merged
with master. Then I did push and I got : *And it worked!*
*
*
Now the issue is :

I have followed the password hashed line as you said i.e. to copy
parameters_8080.oy to wsgi/web2py.

However the applications I see in the web2py on openshift link of mine
doesn't contain my application. It contains default application, even those
which I had deleted. How can this be possible ?

-- 
Thank You and Warm Regards,

Chetan Arvind Patil,
www.chetanpatil.info

-- 

--- 
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.




Re: [web2py] Re: Web2Py on OpenShift

2013-02-01 Thread Chetan Patil
Hi Andrew,

Thanks for your reply.

On Fri, Feb 1, 2013 at 9:01 PM, Andrew  wrote:

> So if you don't want to use the above two git statements, you also need to
> copy the following for starters:
>1.) application  from github project to /wsgi/
>2.) .openshift   from github project to /
>3.) setup.pyfrom github project to /
>4.) libs/gluon   from github project to /libs   (also
> make sure gluon is symlinked from /wsgi/web2py/gluon ->
> /libs/gluon
>
> Try that and redo your git add . from the project root, commit and push
> and let me know how it goes.
>

Followed the steps, however same issue. The welcome page is coming.

I'll once again explain what I have :

1) I have created an rhc app named web2py.
2) After that I have moved all the contents where I did localhost app
development. So those are the files of web2py official source with my
application residing next to the welcome or admin app inside application
folder.
3) So the web2py folder I created using rhc has everything.
4) Now I'm pushing this to red hat open shift. I also did the changes said
above.

Structure of rhc app directory on my system :

openshift(folder)/
 /web2py(rhc created folder)/
/(web2py official
source including my application)


I'm terribly doing something bad.

-- 
Thank You and Warm Regards,

Chetan Arvind Patil,
www.chetanpatil.info

-- 

--- 
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.




[web2py] Re: Web2Py on OpenShift

2013-02-01 Thread Chetan Patil
Hello,

On Friday, June 8, 2012 8:37:39 PM UTC+5:30, Andrew wrote:
>
> You can find it here: - https://github.com/prelegalwonder/openshift_web2py
>

I followed this guide. 

This is what I have : I've created an application which stays in 
application folder of web2py source.

I did following to push the app on open shift :

1) Created OpenShift account. Setting up environment on my ubuntu machine.
2) Using rhc app create -a web2py -t python-2.6 I created the web2py 
folder/application on my system and open shift account.
3) Then I've copied all the content which includes the web2py source and 
above application inside folder created in step 2.
4) The I did  : (a) git add . (b) git commit -a -m "message" (c)  git push
5) Everything works fine and the application/web2py is deployed.

However when I go to the app URL. It still showing : Welcome To OpenShift 
page.

I did appended following to the app URL : appURL/welcome/default/index
still web2py isn't up.

May anyone please let me know where am I going wrong ?

-- 

--- 
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.