-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for .env for storing private data
Create .env file from template if it doesn't exist Import items from .env using dotenv - good for storing private data
- Loading branch information
1 parent
cc5ae41
commit 4186bbe
Showing
5 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.env | ||
.sass-cache | ||
.DS_Store | ||
.start.pid | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# ========================================= | ||
# WARNING: Don't commit this file to git | ||
# ========================================= | ||
# | ||
# Use this file for storing private data - things like API keys and admin credentials | ||
# | ||
# Storing data: | ||
# | ||
# EXAMPLE_API_KEY=123456789 | ||
# JSON={"foo": "bar"} | ||
# | ||
# More examples here: https://www.npmjs.com/package/dotenv | ||
# | ||
# Use the data in your app: | ||
# | ||
# var key = process.env.EXAMPLE_API_KEY | ||
|
||
# ========================================= | ||
# INSERT YOUR DATA HERE: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters