The .env file is usually reserved for secret information and should never be in the repository where it is accessible for everyone (that's why it is in the .gitignore). Even if the information inside can be made public, it should be put in a file called .flaskenv to avoid collisions with private .env files.
It is never a good idea to store secret information in a public git repo.
The .env file is usually reserved for secret information and should never be in the repository where it is accessible for everyone (that's why it is in the .gitignore). Even if the information inside can be made public, it should be put in a file called .flaskenv to avoid collisions with private .env files.
It is never a good idea to store secret information in a public git repo.