If you used the setup script, then web2py is being served via nginx and 
uwsgi. You should not "run" web2py (i.e., do not enter "python web2py.py" 
at the command line) -- that serves web2py using the built-in Rocket web 
server, which you are not using. Once you have run the setup script and 
have nginx/uwsgi running, you can get to your application by visiting 
http://[server ip address]/yourapp, or assuming you have registered a 
domain name, http://[host name]/yourapp. To get to admin, just go to 
https://[host name]/admin (note, because the setup script created a 
self-signed SSL certificate, you will get a browser warning -- if you 
install an SSL certificate from a certificate authority, that warning will 
go away).

Anthony

On Monday, October 14, 2013 4:19:03 PM UTC-4, lesssugar wrote:
>
> Sure, I understand. That's the main question: how do I get to admin or any 
> other application now?
>
> Let's say I want to display the welcome application. When I run web2py.py 
> on the server I still get the information that I should visit 
> http://127.0.0.1:8000/. So when I go to [my_domain]/welcome I get "Not 
> found" error. My knowledge here is basic, just so you guys know.
>
> On Monday, October 14, 2013 10:06:53 PM UTC+2, Anthony wrote:
>>
>> One option is to upload it through the admin interface.
>>
>> On Monday, October 14, 2013 3:53:43 PM UTC-4, lesssugar wrote:
>>>
>>> Hi,
>>>
>>> I'm planning to bring my app "to life". So far, I have followed 
>>> one-step-production deployment guides and used this script:
>>>
>>>
>>> http://web2py.googlecode.com/hg/scripts/setup-web2py-nginx-uwsgi-centos64.sh
>>>
>>> All the setup has been completed on my server, now I would like to 
>>> upload my application and test it online. Could anyone tell me how do I 
>>> continue? Couldn't find much about that in the book.
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to