cheese-shop/README.md

20 lines
465 B
Markdown

# cheese-shop
Well, it's certainly uncontaminated by cheese.
## Setup
In MySQL, first load the database definition:
SOURCE sql/def.sql;
Then, create an user named `wensleydale` with appropriate permissions
to be used by `mysql.connector`:
SOURCE sql/ctl.sql;
To insert the metadata to the `cheese_shop` database, open a shell and run
pip install -r tools/requirements.txt
python tools/make-cheeses.py
The script runs on Python 3.6 and above.