diff --git a/.gitignore b/.gitignore index 25c2caed4b93..486f3fec7365 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ mealie/data/img/* #Exception to keep folders !mealie/data/backups/.gitkeep +!mealie/data/backups/dev_sample_data* !mealie/data/debug/.gitkeep !mealie/data/img/.gitkeep diff --git a/Dockerfile b/Dockerfile index 50025f77961c..12e4388e1474 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,7 @@ WORKDIR /app RUN pip install -r requirements.txt COPY ./mealie /app +COPY ./mealie/data/templates/recipes.md /app/data/templates/ COPY --from=build-stage /app/dist /app/dist diff --git a/dev/dev-notes.md b/dev/dev-notes.md index 992493257907..b928060512d4 100644 --- a/dev/dev-notes.md +++ b/dev/dev-notes.md @@ -1,3 +1,17 @@ +# Getting A Developer Instance Started +For the best experience developing I recommend using docker. I've used both WSL2 and Ubuntu to develop mealie and have had no issues with cross compatibility with docker. 2 Scripts are available along ith docker-compose files to make development instances easier. After cloning the repo you can set the scripts in /dev/scripts/ as executable and then use VSCode tasks to execute the scripts or execute them from the CLI. + +`docker-compose.dev.sh` Will spin up a development stack with hot-reloading enabled. +`docker-compose.sh` Will spin up a production version of the stack. + +After the stack is running navigate to the [admin page localhost:9090/settings/site](http://localhost:9090/settings/site). On the Backups and Exports section import the backup labeled dev_sample_data_{DATE}.zip. This will give you some recipe data to work with. + +Once you're up and running you should be able to make changes and see them reflected on the frontend/backend. If you're not sure what to work on you can check: + +- The Working Todo's below. +- The [Development Road Map](https://hay-kot.github.io/mealie/2.0%20-%20roadmap/) +- The [Current Open Issues](https://github.com/hay-kot/mealie/issues) + # Working Todos Frontend diff --git a/mealie/data/backups/2021-Jan-02.zip b/mealie/data/backups/dev_sample_data_2021-Jan-03.zip similarity index 83% rename from mealie/data/backups/2021-Jan-02.zip rename to mealie/data/backups/dev_sample_data_2021-Jan-03.zip index dbae6e15ae6a..46c254e26311 100644 Binary files a/mealie/data/backups/2021-Jan-02.zip and b/mealie/data/backups/dev_sample_data_2021-Jan-03.zip differ diff --git a/mealie/data/img/baked-potato-fries-reloaded.jpeg b/mealie/data/img/baked-potato-fries-reloaded.jpeg deleted file mode 100644 index 258cdb2ca24b..000000000000 Binary files a/mealie/data/img/baked-potato-fries-reloaded.jpeg and /dev/null differ diff --git a/mealie/data/img/chicken-salad-with-citrus-and-chile-oil.jpg b/mealie/data/img/chicken-salad-with-citrus-and-chile-oil.jpg deleted file mode 100644 index 03e2e6c5fbcb..000000000000 Binary files a/mealie/data/img/chicken-salad-with-citrus-and-chile-oil.jpg and /dev/null differ diff --git a/mealie/data/img/dairy-free-impossible-pumpkin-pie.jpg b/mealie/data/img/dairy-free-impossible-pumpkin-pie.jpg deleted file mode 100644 index 050603f25768..000000000000 Binary files a/mealie/data/img/dairy-free-impossible-pumpkin-pie.jpg and /dev/null differ diff --git a/mealie/data/img/french-toast.jpg b/mealie/data/img/french-toast.jpg deleted file mode 100644 index 5611a161bad3..000000000000 Binary files a/mealie/data/img/french-toast.jpg and /dev/null differ diff --git a/mealie/data/img/graham-cracker-crust.jpg b/mealie/data/img/graham-cracker-crust.jpg deleted file mode 100644 index c870d6580d11..000000000000 Binary files a/mealie/data/img/graham-cracker-crust.jpg and /dev/null differ diff --git a/mealie/data/img/how-to-make-instant-pot-spaghetti.jpg b/mealie/data/img/how-to-make-instant-pot-spaghetti.jpg deleted file mode 100644 index 533fc0d9ef9a..000000000000 Binary files a/mealie/data/img/how-to-make-instant-pot-spaghetti.jpg and /dev/null differ diff --git a/mealie/data/img/mongolian-beef.jpg b/mealie/data/img/mongolian-beef.jpg deleted file mode 100644 index 8e5795b763d5..000000000000 Binary files a/mealie/data/img/mongolian-beef.jpg and /dev/null differ diff --git a/mealie/data/img/moscow-mule-recipe.jpg b/mealie/data/img/moscow-mule-recipe.jpg deleted file mode 100644 index c315e869f0ca..000000000000 Binary files a/mealie/data/img/moscow-mule-recipe.jpg and /dev/null differ diff --git a/mealie/data/img/nilla-wafer.jpg b/mealie/data/img/nilla-wafer.jpg deleted file mode 100644 index a3fb14cbb4fc..000000000000 Binary files a/mealie/data/img/nilla-wafer.jpg and /dev/null differ diff --git a/mealie/data/img/red-berry-tart.jpg b/mealie/data/img/red-berry-tart.jpg deleted file mode 100644 index fb907e3f1951..000000000000 Binary files a/mealie/data/img/red-berry-tart.jpg and /dev/null differ diff --git a/mealie/data/img/red-berry-topping.jpg b/mealie/data/img/red-berry-topping.jpg deleted file mode 100644 index 932b26434c3d..000000000000 Binary files a/mealie/data/img/red-berry-topping.jpg and /dev/null differ diff --git a/mealie/data/img/red-lentil-salad.jpg b/mealie/data/img/red-lentil-salad.jpg deleted file mode 100644 index 6b00db117385..000000000000 Binary files a/mealie/data/img/red-lentil-salad.jpg and /dev/null differ diff --git a/mealie/data/img/stuffed-peppers.jpg b/mealie/data/img/stuffed-peppers.jpg deleted file mode 100644 index 866be227a4fc..000000000000 Binary files a/mealie/data/img/stuffed-peppers.jpg and /dev/null differ diff --git a/mealie/data/img/sweet-potato-cakes-with-poached-eggs.jpg b/mealie/data/img/sweet-potato-cakes-with-poached-eggs.jpg deleted file mode 100644 index 26427f11e931..000000000000 Binary files a/mealie/data/img/sweet-potato-cakes-with-poached-eggs.jpg and /dev/null differ diff --git a/mealie/data/img/vanilla-custard.jpg b/mealie/data/img/vanilla-custard.jpg deleted file mode 100644 index 1101d3b1bb9a..000000000000 Binary files a/mealie/data/img/vanilla-custard.jpg and /dev/null differ