1
0
Fork 0
forked from 0x2E/fusion
fusion/.gitignore
Michael Lynch c8bdbf9a1f Rename .env to .env.example
It caught me by surprise during development that fusion was reading environment variables from .env, as that's not really clear anywhere.

I think it's a bit of a gotcha, so I added logging to make the behavior clearer, and I renamed the default .env file to .env.example so that the user has to explicitly choose to use a .env file.

Keeping the real .env file out of source control also protects developers from accidentally committing their real password to source control and leaking it by mistake.
2024-12-23 21:02:15 -05:00

11 lines
194 B
Text

.DS_*
*.db
*.paw
tmp/
build/
dist/
# The .env file may contain secrets, so exclude it from source control.
.env*
# .env.example is an exception as it only contains dummy secrets.
!.env.example