How do i get a basic web2py server up and running on
PythonAnywhere?
How do i get a basic web2py server up and running on PythonAnywhere ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
[update – 29/05] We now have a big button on the web tab that will do all this stuff for you. Just click where it says Web2Py, fill in your admin password, and you’re good to go.
Here’s the old stuff for historical interest…
I’m a PythonAnywhere developer. We’re not massive web2py experts (yet?) but I’ve managed to get web2py up and running like this:
First download and unpack web2py:
Go to the PythonAnywhere “Web” panel and edit your
wsgi.py. Add these lines:replacing
my_usernamewith your username.You will also need to comment out the last two lines in wsgi.py, where we have the default hello world web.py application…
Thanks to Juan Martinez for his instructions on this part, which you can view here:
http://web2py.pythonanywhere.com/
then open a Bash console, and
cdinto the mainweb2pyfolder, then runenter admin password
press ctrl-c
(this will generate the
parameters_80.pyconfig file)then go to your Web panel on PythonAnywhere, click reload web app,
and things should work!