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:
6
README
6
README
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user