How do I deploy web2py on PythonAnywhere?

后端 未结 5 1325
走了就别回头了
走了就别回头了 2021-02-07 21:16

How do i get a basic web2py server up and running on PythonAnywhere?

5条回答
  •  灰色年华
    2021-02-07 22:14

    I'll try to add something new to the discussion. The EASIEST way I've found is to go here when you aren't logged in. This makes it so you don't have to mess around with the terminal:

    https://www.pythonanywhere.com/try-web2py

    Come up with a domain name, then you'll get redirected to a page showing your login information and created dashboard for that domain. From there just create an account so your app isn't erased after 24 hours. When you sign up, your app has a 3 month expiry date (if you're not paying). I believe this is a new policy. Then simply go to https://appname.pythonanywhere.com/admin and then enter the password you were given and then upload your Web2Py file into the dashboard and then visit the page.

    I'm not sure how to upload a Web2Py app on PythonAnywhere for an existing account, but that's the easiest method I've found.

提交回复
热议问题