690e0e7b4f
Need some comments. I think I would need some idea to fix this (The fact that releases ID are both primary key and foreign key in a lot of entity) |
||
---|---|---|
sql | ||
tools | ||
.gitignore | ||
.travis.yml | ||
ERD_Diagram.jpg | ||
LICENSE | ||
README.md | ||
tox.ini |
README.md
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.