Hosting my web2py application

109 views
Skip to first unread message

mostwanted

unread,
Oct 27, 2020, 11:44:30 AM10/27/20
to web2py-users
How do I setup a private home server to host my web2py application? What do i need & how do i put it together? If anyone has done it before please share the process or direct me to where I can find the information.

Regards;

Mostwanted

Chris

unread,
Oct 27, 2020, 2:21:28 PM10/27/20
to web...@googlegroups.com
Hi, you can check the install script of waf2py and get the part where the apache server is installed with web2py. you may need to adjust the paths. 
This is for a debian system




Cheers.
Chris.

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/6d1e2e29-a423-43d2-b9fe-1e6cae251f26n%40googlegroups.com.
signature.asc

jonatha...@whatho.net

unread,
Oct 27, 2020, 5:51:36 PM10/27/20
to web2py-users
Do you want instructions on how to set up and run a server (Linux, Windows?) on your home premises?
Instructions on how to install web2py on such a server?
Instructions on how to provide access to web browsers out on the internet (e.g. setting up IP addresses on which the server can be contacted?)

These are big topics which (I would suggest) are outside the scope of this group, and might require a fair bit of research. Also there are lots of options depending on your requirements. None of it's specially difficult but most of it is not specific to web2py.

Rufus

unread,
Oct 28, 2020, 4:40:41 PM10/28/20
to web2py-users
There is at least one good tutorial on YouTube about setting up a private home webserver on a Raspberry Pi, including
how to create a Dynamic DNS entry with Google. Here's One:   https://www.youtube.com/watch?v=vzojwG7OB7c&t=1415s

mostwanted

unread,
Oct 29, 2020, 1:21:17 AM10/29/20
to web2py-users
I've come across alot of information on setting up a domestic webserver I just wasnt sure if the same setup of hosting a PHP application would apply to hosting a Python application, I just thought it could be different but if its all the same thing I'll pick one & try it out.

Regards

Rufus

unread,
Nov 4, 2020, 1:27:01 AM11/4/20
to web2py-users
The technique we used with PHP was the php would call the python program (or any other program callable from the linux shell) and take the output from it or the files generated by it using PHP.
This is not the same as generating web pages using python, or modifying the HTML to include python code (like web2py, or, I imagine, django and such)
Have you looked at www.pythonanywhere.com?

mostwanted

unread,
Nov 4, 2020, 2:02:12 AM11/4/20
to web2py-users
I'm currently using pythonanywhere for some of my applications, I was just interested in hosting 1 or 2 of some.

Dave S

unread,
Nov 7, 2020, 5:56:13 PM11/7/20
to web2py-users


On Tuesday, October 27, 2020 at 11:21:28 AM UTC-7, Chris wrote:
Hi, you can check the install script of waf2py and get the part where the apache server is installed with web2py. you may need to adjust the paths. 
This is for a debian system




There's a more up-to-date script for Nginx, and Mossimo and others don't recommend Apache any more, unless you already know it well or have a legacy installation.  It's gotten kind of crufty, I'm told, due to the way new features were added.

Working with nginx isn't difficult for most uses -- after all, I figured out how to use it on my site, and I'm no guru for either web2py or nginx.  I have not tried the windows version of nginx.  For big sites, you probably want the paid version and the add ons for micro APIs, etc, but the free version running on AWS linux handles 24x7 at more than 1 request per second.

/dps

 

Cheers.
Chris.

On martes, oct. 27, 2020 at 12:44 p. m., mostwanted <godir...@gmail.com> wrote:
How do I setup a private home server to host my web2py application? What do i need & how do i put it together? If anyone has done it before please share the process or direct me to where I can find the information.

Regards;

Mostwanted

--
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 web...@googlegroups.com.

AGRogers

unread,
Nov 9, 2020, 9:46:40 AM11/9/20
to web...@googlegroups.com
I have just set up a Google cloud virtual machine with Debian 9 and Apache and python 3.7.6. It wasn't easy. Seems to be fast though. If you want a vm image I can try and work out how to share it with you. 

To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/712d77e0-47c4-46c0-912f-63477afe08b7o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages