- Flask docs: https://flask.palletsprojects.com/en/3.0.x/
- Flask login docs: https://flask-login.readthedocs.io/en/latest/
- Using "Log in with social network": https://python-social-auth.readthedocs.io/en/latest/configuration/flask.html
Use the venv
command to create a virtual environment. E.g., on Unix (see web page for how to use it on Windows and with non-Bourne-like shells):
cd 226book
python -m venv .venv # or possibly python3
. .venv/bin/activate # yes there's a dot at the beginning of the line
pip install -r requirements.txt
You can exit the virtual environment with the command deactivate
.
flask -A headbook:app run --reload
unknown.png
– from OpenMoji (Attribution-ShareAlike 4.0 International)favicon.(png|ico)
– from Game Icons (CC BY 3.0)uhtml.js
– from µHTML (Copyright (c) 2020, Andrea Giammarchi, ISC License)- Base code by Anya (Course instructor)