diff --git a/.gitignore b/.gitignore index aa8f8f55f..3acea769a 100644 --- a/.gitignore +++ b/.gitignore @@ -10,19 +10,18 @@ mealie/temp/api.html .temp/ -mealie/data/backups/* -mealie/data/debug/* -mealie/data/img/* -mealie/data/migration/* -!mealie/dist/* +app_data/backups/* +app_data/debug/* +app_data/img/* +app_data/migration/* #Exception to keep folders !mealie/dist/.gitkeep -!mealie/data/backups/.gitkeep -!mealie/data/backups/dev_sample_data* -!mealie/data/debug/.gitkeep -!mealie/data/migration/.gitkeep -!mealie/data/img/.gitkeep +!app_data/backups/.gitkeep +!app_data/backups/dev_sample_data* +!app_data/debug/.gitkeep +!app_data/migration/.gitkeep +!app_data/img/.gitkeep .DS_Store node_modules @@ -152,56 +151,4 @@ ENV/ # Node Modules node_modules/ mealie/data/debug/last_recipe.json -*.sqlite -app_data/backups/.gitkeep -app_data/backups/dev_sample_data_2021-Jan-12.zip -app_data/debug/.gitkeep -app_data/debug/last_recipe.json -app_data/img/.gitkeep -app_data/img/banana-bread.jpg -app_data/img/bon-appetit-s-perfect-pizza.jpg -app_data/img/braised-beans-and-sardines-with-fennel.jpg -app_data/img/broccoli-beer-cheese-soup.jpg -app_data/img/buttery-kimchi-chicken.jpg -app_data/img/cauliflower-cacciatore.jpg -app_data/img/chicken-salad-with-citrus-and-chile-oil.jpg -app_data/img/coffee-hazelnut-biscotti.jpg -app_data/img/corn-and-crab-beignets-with-yaji-aioli.jpg -app_data/img/crispy-carrots.jpg -app_data/img/crispy-rice-with-ginger-citrus-celery-salad.jpg -app_data/img/crockpot-buffalo-chicken.jpg -app_data/img/detroit-style-pepperoni-pizza.jpg -app_data/img/downtown-marinade.jpg -app_data/img/falafel-hummus-plate.jpg -app_data/img/five-spice-popcorn-chicken.jpg -app_data/img/ginger-citrus-cookies.jpg -app_data/img/green-chile-stew.jpg -app_data/img/green-seasoning-baked-cod.jpg -app_data/img/green-spaghetti.jpg -app_data/img/grilled-mushrooms-and-root-vegetables.jpg -app_data/img/how-to-make-instant-pot-kerala-vegetable-stew.jpg -app_data/img/huevos-rancheros-con-rajas-y-champinones.jpg -app_data/img/instant-pot-chicken-and-potatoes.jpg -app_data/img/jalapeno-cornbread.jpg -app_data/img/macadamia-and-brown-butter-blondies.jpg -app_data/img/marinated-tofu-with-brussels-sprouts-and-farro.jpg -app_data/img/marranitos-enfiestados.jpg -app_data/img/mississippi-pot-roast.jpg -app_data/img/mushroom-risotto.jpg -app_data/img/new-york-strip.jpg -app_data/img/nilla-wafer-french-toast.jpg -app_data/img/one-minute-muffin.jpg -app_data/img/one-pot-chicken-and-rice.jpg -app_data/img/pace-pork.jpg -app_data/img/pasta-with-mushrooms-and-cashew-cream.jpg -app_data/img/pizzettes.jpg -app_data/img/pork-steaks.jpg -app_data/img/roasted-brussels-sprouts.jpg -app_data/img/roasted-okra.jpg -app_data/img/salt-vinegar-potatoes.jpg -app_data/img/shrimp-and-cabbage-curry.jpg -app_data/img/smashed-carrots.jpg -app_data/img/tamarind-chicken-thighs-with-collard-greens-salad.jpg -app_data/img/tequila-beer-and-citrus-cocktail.jpg -app_data/migration/.gitkeep -app_data/templates/recipes.md +*.sqlite \ No newline at end of file diff --git a/app_data/backups/.gitkeep b/app_data/backups/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/app_data/backups/dev_sample_data_2021-Jan-12.zip b/app_data/backups/dev_sample_data_2021-Jan-12.zip new file mode 100644 index 000000000..ee5da95cc Binary files /dev/null and b/app_data/backups/dev_sample_data_2021-Jan-12.zip differ diff --git a/app_data/debug/.gitkeep b/app_data/debug/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/app_data/img/.gitkeep b/app_data/img/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/app_data/migration/.gitkeep b/app_data/migration/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/app_data/templates/recipes.md b/app_data/templates/recipes.md new file mode 100644 index 000000000..4f05230f0 --- /dev/null +++ b/app_data/templates/recipes.md @@ -0,0 +1,26 @@ + + +![Recipe Image](../images/{{ recipe.image }}) + +# {{ recipe.name }} +{{ recipe.description }} + +## Ingredients +{% for ingredient in recipe.recipeIngredient %} +- [ ] {{ ingredient }} +{% endfor %} + +## Instructions +{% for step in recipe.recipeInstructions %} +- [ ] {{ step.text }} +{% endfor %} + +{% for note in recipe.notes %} +**{{ note.title }}:** {{ note.text }} +{% endfor %} + +--- + +Tags: {{ recipe.tags }} +Categories: {{ recipe.categories }} +Original URL: {{ recipe.orgURL }} \ No newline at end of file