From 6da35ff40fcad5222354804cfa28fb72d41b7200 Mon Sep 17 00:00:00 2001 From: Pedro Belo Date: Thu, 8 Dec 2016 08:02:03 -0800 Subject: [PATCH] clarify location of .env --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d799e94..03d02f9 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,14 @@ Bring some [12 factor](http://12factor.net/config) love to your mobile apps! ## Usage -Declare config variables in `.env`: +Create a new file `.env` in the root of your React Native app: ``` API_URL=https://myapi.com GOOGLE_MAPS_API_KEY=abcdefgh ``` -Then access from your app: +Then access variables defined there from your app: ```js import Config from 'react-native-config'