Inspecting the Usage Database
Learn how to populate and inspect the data in the usages database.
We'll cover the following...
Populating the usages table with data
Following are the commands necessary for putting the data in the usages table
.
Press + to interact
PS C:> wget https://github.com/socratecha/frapbook-v1.0-langman/raw/master/data/usages.csvPS C:> export FLASK_ENV=dev_litePS C:> export FLASK_APP=server.prepare_ormPS C:> export LC_ALL=C.UTF-8 && export LANG=C.UTF-8PS C:> pipenv run flask init-dbAdding 5760 rows to Usage tables
Note that in Mac and Linux FLASK_ENV
is set ...