Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio authored Jan 15, 2019
1 parent da7c77f commit 05eabf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ dotenv["HOME"]

**Q:** Should I deploy a `.env` to e.g. production?

**A**: Tenant III of the [12 factor app methodoy](https://12factor.net/config) states "The twelve-factor app stores config in environment variables". Thus, for deployed environments e.g. production, it is not recommended to use the .env file. dotenv is super useful in e.g a local development environment. It enables a developer to manage the environment via a file which is more convenient.
**A**: Tenant III of the [12 factor app methodology](https://12factor.net/config) states "The twelve-factor app stores config in environment variables". Thus, it is not recommended to provide the .env file to such environments. dotenv, however, is super useful in e.g a local development environment as it enables a developer to manage the environment via a file which is more convenient.

Using dotenv in production would be cheating. This type of usage, however is an anti-pattern.

Expand Down

0 comments on commit 05eabf6

Please sign in to comment.