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")