Remove .env from .gitignore?
jpollone opened this issue · comments
Joseph Pollone commented
preetamslot commented
It is best practice to keep your .env out of your git repo, most of the time you have some keys in there you don't want to make public, in my case my mailchimp api key.
If you use the "Vercel" or "Netlify" deploy button in the readme, the env will be generated. otherwise you have to do this manually.
In netlify and in vercel you can add your environment variables in the project settings