Hacker News new | ask | show | jobs
by ehnto 1020 days ago
I think most frameworks I have worked with have the concept of configurations, more advanced ones have config that can be overriden by environment files. Definitely a solved problem if you want to roll your own.

.env files are the quick and dirty version for simple sites that don't have an admin panel or database.