On Saturday, July 7, 2018 at 9:41:30 PM UTC-7, William Chen wrote:
>
> Hi web2py community, I am a complete noob, so bear with me.
>
> I have set up my server on DigitalOcean, set up my SSH and user 
> permissions, and run the following script successfully:
>
> cd ~/
> wget 
> https://raw.githubusercontent.com/web2py/web2py/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
> chmod +x  setup-web2py-nginx-uwsgi-ubuntu.sh
> sudo ./setup-web2py-nginx-uwsgi-ubuntu.sh
>
>
>
> Now, how do I launch Web2py to be able to access the admin interface from 
> the server IP address? 
>
> Thanks!
>

If you've set up ssh, you can use that to have a console (terminal) 
session.  From there, it is just like the examples in the book
<URL:http://web2py.com/books/default/chapter/29/03/overview>
except that for the admin interface you need to have web2py listening on a 
https: port (usually 443) or use ssh port forwarding to look like a local 
access. (there are a handful of posts in this group about port forwarding).

The https: protocol requires a public key certificate on the server.  If 
this is a development server, you can use a self-signed cert, or for a 
production server you can use one issued by your hosting service (if they 
do that), LetsEncrypt.org, or a commercial certificate authority.

I haven't used Digital Ocean myself, but there are some folks around who 
have answered DO questions in the past.  I don't know if the DO support 
staff is familiar with web2py. (Apparently, the staff at PythonAnywhere is 
familiar with our framework, but other hosting services may or may not be)

Good luck, let us know how it goes, and if you have further questions try 
to be as specific as possible about what you tried, what happened, and what 
was supposed to happen.

/dps

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to