This is a helper-script that helps you to move recipes from grocy to meali. It will get all your recipes from grocy and import them via the JSON Import to Mealie. This will not migrate your pictures. All List-Items and Paragraphs in the Description of a grocy recipe will be a instruction-step in Mealie. (Since I have some ingridens in LI I need to migrate those to ingridents later, but if you have only instructions it will work fine :) )
Caution
This is meant to run only once! It will always just import all recipes! No douplicate-checks.
Important
Create a Mealie Backup before running this.
- copy env.example to .env
- put in your data
From the root of this repository run:
docker build . -t gtm
From the root of this repository run:
docker run --env-file ~/Development/Docker/Grocy-to-Mealie/.env --rm --name GrocyMealie gtm
❯ docker run --env-file ~/Development/Docker/Grocy-to-Mealie/.env --rm --name GrocyMealie gtm
Title: Spaghetti mit cremiger Brokkoli-Käse Sauce (3) .
Zubereitung: <ul><li>Zwiebeln</li><li>Knoblauch</li><li>Brühe</li><li>Milch</li><li>Brokkoli </li><li>Spaghetti </li></ul><p><br /></p><p>Knoblauch & Zwiebeln würfeln und anbraten. Brokkoli dazu geben. <br />Mit Brühe und Milch ablöschen und köcheln lassen. </p><p>Spaghetti nach Packungsangaben zubereiten. </p> (5 Zutaten)
Rezept (Schema.org JSON) erfolgreich erstellt.
-------
as always, many thanks to the creators of (grocy) and mealie!