From 912d28af27223a5b435f11a5353ec17854193540 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Sat, 20 Mar 2021 13:57:02 -0800 Subject: [PATCH] move developer data --- .gitignore | 22 +++++++++--------- {app_data => dev/data}/backups/.gitkeep | 0 .../backups/dev_sample_data_2021-Feb-13.zip | Bin {app_data => dev/data}/debug/.gitkeep | 0 {app_data => dev/data}/img/.gitkeep | 0 {app_data => dev/data}/migration/.gitkeep | 0 {app_data => dev/data}/templates/recipes.md | 0 mealie/core/config.py | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) rename {app_data => dev/data}/backups/.gitkeep (100%) rename {app_data => dev/data}/backups/dev_sample_data_2021-Feb-13.zip (100%) rename {app_data => dev/data}/debug/.gitkeep (100%) rename {app_data => dev/data}/img/.gitkeep (100%) rename {app_data => dev/data}/migration/.gitkeep (100%) rename {app_data => dev/data}/templates/recipes.md (100%) diff --git a/.gitignore b/.gitignore index 338786e21..4fcab0443 100644 --- a/.gitignore +++ b/.gitignore @@ -10,19 +10,19 @@ mealie/temp/api.html .temp/ -app_data/backups/* -app_data/debug/* -app_data/img/* -app_data/migration/* -app_data/users/* +dev/data/backups/* +dev/data/debug/* +dev/data/img/* +dev/data/migration/* +dev/data/users/* #Exception to keep folders !mealie/dist/.gitkeep -!app_data/backups/.gitkeep -!app_data/backups/dev_sample_data* -!app_data/debug/.gitkeep -!app_data/migration/.gitkeep -!app_data/img/.gitkeep +!dev/data/backups/.gitkeep +!dev/data/backups/dev_sample_data* +!dev/data/debug/.gitkeep +!dev/data/migration/.gitkeep +!dev/data/img/.gitkeep .DS_Store node_modules @@ -153,5 +153,5 @@ ENV/ node_modules/ mealie/data/debug/last_recipe.json *.sqlite -app_data/db/test.db +dev/data/db/test.db scratch.py diff --git a/app_data/backups/.gitkeep b/dev/data/backups/.gitkeep similarity index 100% rename from app_data/backups/.gitkeep rename to dev/data/backups/.gitkeep diff --git a/app_data/backups/dev_sample_data_2021-Feb-13.zip b/dev/data/backups/dev_sample_data_2021-Feb-13.zip similarity index 100% rename from app_data/backups/dev_sample_data_2021-Feb-13.zip rename to dev/data/backups/dev_sample_data_2021-Feb-13.zip diff --git a/app_data/debug/.gitkeep b/dev/data/debug/.gitkeep similarity index 100% rename from app_data/debug/.gitkeep rename to dev/data/debug/.gitkeep diff --git a/app_data/img/.gitkeep b/dev/data/img/.gitkeep similarity index 100% rename from app_data/img/.gitkeep rename to dev/data/img/.gitkeep diff --git a/app_data/migration/.gitkeep b/dev/data/migration/.gitkeep similarity index 100% rename from app_data/migration/.gitkeep rename to dev/data/migration/.gitkeep diff --git a/app_data/templates/recipes.md b/dev/data/templates/recipes.md similarity index 100% rename from app_data/templates/recipes.md rename to dev/data/templates/recipes.md diff --git a/mealie/core/config.py b/mealie/core/config.py index a46ac547c..715390815 100644 --- a/mealie/core/config.py +++ b/mealie/core/config.py @@ -34,7 +34,7 @@ else: redoc_url = None # Helpful Globals -DATA_DIR = CWD.parent.parent.joinpath("app_data") +DATA_DIR = CWD.parent.parent.joinpath("dev", "data") if PRODUCTION: DATA_DIR = Path("/app/data")