Skip to content

Add support for .env files and setup for database info#327

Open
knazir wants to merge 1 commit intoP0nk:masterfrom
knazir:master
Open

Add support for .env files and setup for database info#327
knazir wants to merge 1 commit intoP0nk:masterfrom
knazir:master

Conversation

@knazir
Copy link

@knazir knazir commented Oct 19, 2025

Description

Just picked up this project to experiment. While working, I noticed that I kept having to ignore checking in changes to config.yaml that had my plaintext MySQL password.

To make local development a bit safer and more convenient, this adds support for environment variables via a .env file. It also adds a .env.example file in the repo root that demonstrate supported parameters.

Done through an EnvironmentManager class with some helpers.

If I missed an existing/better way to do this, please let me know.

Checklist before requesting review

  • Performed a self-review of the code
  • Tested changes locally
  • Added unit tests where applicable

@knazir knazir changed the title Add support for .env files for database info Add support for .env files and setup for database info Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant