From 4dc2e84f654eb6f5e6cea86ed2753ad991b5657b Mon Sep 17 00:00:00 2001 From: "John Barton (joho)" Date: Wed, 31 Jul 2013 14:18:07 +1000 Subject: [PATCH] Borrow some of dotenv's readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4ebf0e4..1a2c172 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ 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 environments–such as resource handles for databases or credentials for external services–should 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 ```shell