Borrow some of dotenv's readme

This commit is contained in:
John Barton (joho) 2013-07-31 14:18:07 +10:00
parent 33e2555609
commit 4dc2e84f65

View File

@ -2,6 +2,12 @@
A Go (golang) port of the Ruby dotenv project (which loads env vars from a .env file) A Go (golang) port of the Ruby dotenv project (which loads env vars from a .env file)
From the original Library:
> Storing configuration in the environment is one of the tenets of a twelve-factor app. Anything that is likely to change between deployment environmentssuch as resource handles for databases or credentials for external servicesshould be extracted from the code into environment variables.
>
> But it is not always practical to set environment variables on development machines or continuous integration servers where multiple projects are run. Dotenv load variables from a .env file into ENV when the environment is bootstrapped.
## Installation ## Installation
```shell ```shell