recipe-graph/README.md

35 lines
578 B
Markdown
Raw Normal View History

2022-07-18 11:13:53 -04:00
# 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
2022-07-20 15:07:24 -04:00
> ☐ automate scraping\
> ☐ extend importing funcionality to more websites\
2022-07-20 18:04:11 -04:00
> ☐ extracting quantity and name (via regex)\
2022-07-20 15:07:24 -04:00
> ☐ matching ingredients to recipe ingredients