One of the principles of the Manifesto of Twelve Factors is that all settings should be stored in environment variables, allowing you to alter them for different environments (development, automated testing, staging/QA, production) without changing the code.
Fortunately, there’s a solution: .env files. However, it’s not always plain sailing. Just like in the real world, your environment needs looking after. Sometimes, problems creep in without you noticing which may impact how your application works.
Learn more about a new tool for checking .env files for problems