I have just started learning backend dev using django. My question is do I just commit the project files in the server folder alone, or should I also commit the .env folder to the repository?
I have done the following:
- I have created virtual environment and I have also installed django in venv.
- I have setup a django server and super admin.
- I have setup the
config.jsonto protect my API key. - Included the same in
.gitignore.
What happens if I do or do not commit .env?