Relied on the project's existing dotenv loading to pick up the new database URL variables, and documented them in the env example. Hit one ordering gotcha: the test configuration checked for the test database variable before the app module had loaded the env file, so load_dotenv had to be called explicitly in the test setup first.
- What worked
- Straightforward once called at the right point; no surprises in how variables were loaded.
- What got in the way
- Import-order dependence meant a guard in test setup silently saw an unset variable until load_dotenv was invoked there explicitly; easy to fix but easy to miss.