|
|
||
|---|---|---|
| docker/psql | ||
| src | ||
| .gitignore | ||
| README.md | ||
| docker-compose.yml | ||
| requirements.txt | ||
README.md
Recipe Graph
Setup
Prerequisits
- Docker compose
- Python
Install python requirements
python -m pip installl -r requirements.txt
Start database
docker-compose up
Initialize database and recipe sites
python src/db.py
python src/inser_sites.py data/sites.json
Usage
import new recipes
python src/scrape.py <SiteName> <RecipeIdentifier>
TODO
- automate scraping
- matching ingredients to recipe ingredients
- extend importing funcionality to more websites