I have Python, Web2py and various database technologies
installed on an Linux server (say 123.45.67.89). Assuming I've
configured my application, databases, and folder permissions properly,
is deploying my Web2py application as simple as launching Web2py (the
command on my machine would be python web2py.py
in /dir1$
), setting the server IP to 'public 0.0.0.0', and visiting 123.45.67.89?
How does what I'm describing differ from what the following does (from Linux / Unix section of http://www.web2py.com/books/default/chapter/34/13/deployment-recipes):
wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
chmod +x setup-web2py-ubuntu.sh
sudo ./setup-web2py-ubuntu.sh
I don't have a lot of experience deploying applications or working
with Apache, so I don't really understand the differences between what
I'm doing and the deployment recipe, nor do I really understand what's
being described in the Apache or mod_wsgi setup sections. Furthermore, when I attempt to run the code above I just receive a bunch of errors (no sudoers, files / directories don't exist, etc).
Thanks so much for the help. Just want to make sure I know what's going on, the limitations / differences, etc., especially given the fact that rapid deployment isn't working for me. If you have any decent references that you could point me to, I'd be glad to read them as well.
Not sure if it helps, but I'm attempting to deploy on Bluehost with a dedicated IP. Deploying a Django app was a piece of cake on Bluehost, so I hope I'm close.
I have Python, Web2py and various database technologies installed on an Linux server (say 123.45.67.89). Assuming I've configured my application, databases, and folder permissions properly, is deploying my Web2py application as simple as launching Web2py (the command on my machine would be
python web2py.py
in/dir1$
), setting the server IP to 'public 0.0.0.0', and visiting 123.45.67.89?How does what I'm describing differ from what the following does (from Linux / Unix section of http://www.web2py.com/books/default/chapter/34/13/deployment-recipes):
wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh chmod +x setup-web2py-ubuntu.sh sudo ./setup-web2py-ubuntu.sh
I don't have a lot of experience deploying applications or working with Apache, so I don't really understand the differences between what I'm doing and the deployment recipe, nor do I really understand what's being described in the Apache or mod_wsgi setup sections. Furthermore, when I attempt to run the code above I just receive a bunch of errors (no sudoers, files / directories don't exist, etc).
Thanks so much for the help. Just want to make sure I know what's going on, the limitations / differences, etc., especially given the fact that rapid deployment isn't working for me. If you have any decent references that you could point me to, I'd be glad to read them as well.
Not sure if it helps, but I'm attempting to deploy on Bluehost with a dedicated IP. Deploying a Django app was a piece of cake on Bluehost, so I hope I'm close.
However, there are plenty of people who do run on virtual hosts. I don't remember that Bluehost has been mentioned. I think Blue Ocean has, but
PythonAnywhere and Google Apps Engine seem to be the most popular. There have been some people using OpenShift, Heroku, and some others. I by the subject list someone is trying Azure. You can browse the group archives (you can use any of the above for a search term; you might also try "virtual host" or "hosting service".) to find previous discussions and how particular problems needed to be solved.