-
Notifications
You must be signed in to change notification settings - Fork 6
Description
py4web now uses uv and there is no longer any requirements.txt file
The section at https://github.com/tomcam/py4webcasts/blob/master/docs/how-install-source-pythonanywhere.md#change-to-the-py4web-directory-and-install-requirements-using-pip is out of date.
The user should now follow the instructions for installing from source (globally):
git clone https://github.com/web2py/py4web.git
cd py4web
make assets
make test
python -m pip install .
py4web setup apps
py4web set_password
Other notes:
The python versions offered are now different. I went through this tutorial with a new 'virgin' pythonanywhere account in order to check that my own app documentation worked nicely. I used the most up to date python offered which is now 3.13.
After updating the bottle_app.py file (incidentally, I suggest using the Files tab editor for this too, rather than using the bash console) and clicking the big green button on the web tab, it is not necessary to run py4web on the bash console!
Clarify that the password supplied to set_password is for the py4web dashboard of the user's py4web web site (not the pythonanywhere dashboard!)