mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
move developer data
This commit is contained in:
parent
20aaf209cc
commit
912d28af27
8 changed files with 12 additions and 12 deletions
22
.gitignore
vendored
22
.gitignore
vendored
|
@ -10,19 +10,19 @@ mealie/temp/api.html
|
||||||
.temp/
|
.temp/
|
||||||
|
|
||||||
|
|
||||||
app_data/backups/*
|
dev/data/backups/*
|
||||||
app_data/debug/*
|
dev/data/debug/*
|
||||||
app_data/img/*
|
dev/data/img/*
|
||||||
app_data/migration/*
|
dev/data/migration/*
|
||||||
app_data/users/*
|
dev/data/users/*
|
||||||
|
|
||||||
#Exception to keep folders
|
#Exception to keep folders
|
||||||
!mealie/dist/.gitkeep
|
!mealie/dist/.gitkeep
|
||||||
!app_data/backups/.gitkeep
|
!dev/data/backups/.gitkeep
|
||||||
!app_data/backups/dev_sample_data*
|
!dev/data/backups/dev_sample_data*
|
||||||
!app_data/debug/.gitkeep
|
!dev/data/debug/.gitkeep
|
||||||
!app_data/migration/.gitkeep
|
!dev/data/migration/.gitkeep
|
||||||
!app_data/img/.gitkeep
|
!dev/data/img/.gitkeep
|
||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
|
@ -153,5 +153,5 @@ ENV/
|
||||||
node_modules/
|
node_modules/
|
||||||
mealie/data/debug/last_recipe.json
|
mealie/data/debug/last_recipe.json
|
||||||
*.sqlite
|
*.sqlite
|
||||||
app_data/db/test.db
|
dev/data/db/test.db
|
||||||
scratch.py
|
scratch.py
|
||||||
|
|
|
@ -34,7 +34,7 @@ else:
|
||||||
redoc_url = None
|
redoc_url = None
|
||||||
|
|
||||||
# Helpful Globals
|
# Helpful Globals
|
||||||
DATA_DIR = CWD.parent.parent.joinpath("app_data")
|
DATA_DIR = CWD.parent.parent.joinpath("dev", "data")
|
||||||
if PRODUCTION:
|
if PRODUCTION:
|
||||||
DATA_DIR = Path("/app/data")
|
DATA_DIR = Path("/app/data")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue