2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 03:30:54 +00:00

refactor (backend): move config files out of the source directories (#9769)

* moving config files out of the source directories
Fixes #9756

* add folder for config

* fix lookup paths

* reorder ignores

* reduce diff

* better error message

* fix paths

* Update tests.py

* save global warning to db

* fix import

* more import fixes / docs

* fix default

* fix default

* ensure secret_key/get_config_file is tested fully

* try fixing path on docker

* try to make it work on GitHub CI

* refactor testfolder path into config var

* fix test path

* fix test

* do not test on docker

* more tests

* add testing for global warning dict

* fix error handling
This commit is contained in:
Matthias Mair
2025-06-25 00:12:24 +02:00
committed by GitHub
parent 03bb1eb709
commit bbe94ee9c2
14 changed files with 318 additions and 43 deletions

View File

@ -111,6 +111,12 @@ Steps very between deployment methods.
The command that was used to run invoke is not the one that is recommended. This might be caused by a wrong PATH variable or by thinking you are using a different deployment method.
The warning text will show the recommended command for intended use.
#### INVE-W10
**Config not in recommended directory - Backend**
A configuration file is not in the recommended directory. This might lead to issues with the deployment method you are using. It might also lead to confusinon.
The warning text will show the recommended directory for your deployment method.
#### INVE-W10
**Exception during mail delivery - Backend**