.env.sample -
Imagine a new developer joins your team on Monday. Without a .env.sample, they must grep through the codebase looking for process.env.DB_HOST or os.getenv('SECRET_KEY'). With a sample file, they run cp .env.sample .env, fill in the blanks, and run the app in under two minutes.
To close, here is a checklist you can print out or pin to your team's Slack channel. .env.sample
You can reference a real .env file:
version: '3'
services:
app:
env_file:
- .env
The .env.sample helps users create that file. Imagine a new developer joins your team on Monday