$ make build
Start the PostgreSQL service:
$ docker compose up -d postgresql
Apply database migrations:
$ ./build/cook migrate
Follow the instructions to prepare the dataset for the demo.
Import recipes and ingredients to PostgreSQL:
$ ./build/cook import-recipes --input ../../dataset/recipes.out.json
Generate 100 restaurants and their respective menus:
$ ./build/cook create-restaurants --number 100
Inspect PostgreSQL data:
$ make psql
Dump the restaurant
database:
$ make pgdump