fix spelling mistakes, update flask-sqlachemy doc line, changed how to run to ref main.py instead of book.py && testing first real commit

This commit is contained in:
2020-11-03 18:33:49 +11:00
parent a51db7c9e4
commit 3a42b944df

6
README
View File

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