...

/

Inspecting the Usage Database

Inspecting the Usage Database

Learn how to populate and inspect the data in the usages database.

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.csv
PS C:> export FLASK_ENV=dev_lite
PS C:> export FLASK_APP=server.prepare_orm
PS C:> export LC_ALL=C.UTF-8 && export LANG=C.UTF-8
PS C:> pipenv run flask init-db
Adding 5760 rows to Usage tables

Note that in Mac and Linux FLASK_ENV is set ...