Closed rhanka closed 6 months ago
The overall change focuses on enhancing flexibility and configuration management across the backend by updating file paths to use environment variables and dynamic directory locations. This shift from hardcoded paths to variables like DATA_DIR
and JOBS
ensures easier adaptability and maintenance, making the system more robust and configurable for different environments.
Files | Summary |
---|---|
Makefile , backend/src/.../communes.ts , backend/src/.../search.controller.ts , backend/src/.../mail.ts , backend/src/.../processStream.ts , backend/src/.../updatedIds.ts , backend/src/.../userDB.ts , backend/src/.../wikidata.ts |
Updated file paths to use environment variables (DATA_DIR , JOBS , COMMUNES_JSON , DISPOSABLE_MAIL , DB_JSON , PROOFS , WIKIDATA_LINKS ), enhancing flexibility and configuration management. Added ${JOBS} dependency and directory creation in Makefile. |
🐰✨
In the land of code and bits,
Paths once fixed, now freely flit.
DATA_DIR
andJOBS
take flight,
Through env vars, they see the light.
So cheers to change, our code does hop,
With every line, a leap, a bop!
🌟🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Thank you :pray:
I propose to add also *.in.enc
job files to the job folder in this commit 66725d666104ea5aeb40c710ef3327be5f11a454
Summary by CodeRabbit