Files
books/README

13 lines
510 B
Plaintext

## TODO: get all this inside a docker container and use compose to do the whole set (pg, flask, ?)
# flash -> python web server
# sqlalchemy -> provides db-agnostic python objects of db content (and more)
## LEARN: not totally sure what flask-sqlachemy provides
# --user sticks python libs in ~/.local/[bin|lib|share]
##LEARN: supposedly could use virtualenv instead?
sudo apt install python3-psycopg2 libpq-dev
pip3 install --user flask sqlalchemy flask-sqlalchemy
# run the web server by:
python3 book.py