The patterns discussed here continue to evolve. Several trends are worth watching:
The developer opens .env.local and sets their local database credentials. .env.dist.local
The .dist suffix (short for distribution ) traditionally identifies a template file. The patterns discussed here continue to evolve
DB_HOST=localhost DB_USER=myuser DB_PASSWORD=mypassword .env.dist.local
With .env.dist.local in the repository, onboarding becomes a two-step script: cp .env.dist .env cp .env.dist.local .env.local Use code with caution.