recipe-graph/README.md

34 lines
529 B
Markdown

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