From 0cab663e72676b1e5dc2379fb2db903d25c51bf4 Mon Sep 17 00:00:00 2001 From: Jamie Perkins Date: Mon, 19 Apr 2021 22:15:58 -0700 Subject: [PATCH] update readme with .env file info --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1140c5ce2c4..16dc46b38f6 100644 --- a/README.md +++ b/README.md @@ -271,6 +271,11 @@ Example: export GT_API_REDDIT_USERNAME=SexyYear ``` +Environment variables can also be set in a `.env` file at the top of the repo. This file is ignored by git so your API keys will stay secret. The above example stored in `.env` would be: +``` +GT_API_REDDIT_USERNAME=SexyYear +``` + Note that it is not necessary to have a valid Alpha Vantage key to get daily OHLC values. ### Usage