removed all refs to genre_lst, made genre table confirm to id, name, added classes/routes for genre*, tweaked book format to accommodate multiple authors, etc. still 1-line, but with 12 / num of <authors, etc.> col wide form-controls
This commit is contained in:
6
README
6
README
@@ -13,6 +13,12 @@ sudo apt install python3-pip python3-psycopg2 libpq-dev
|
||||
# --user sticks python libs in ~/.local/[bin|lib|share]
|
||||
pip3 install --user flask sqlalchemy flask-sqlalchemy flask-marshmallow SQLAlchemy-serializer flask-wtf flask-bootstrap marshmallow-sqlalchemy
|
||||
|
||||
|
||||
### alter db that was saved by:
|
||||
psql library
|
||||
alter table genre_lst rename to genre;
|
||||
alter table genre rename COLUMN genre to name;
|
||||
|
||||
# run the web server by:
|
||||
python3 main.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user