forked from HabitRPG/habitica
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use nconf to load in configuration values
A config.json file can be used for all ENV settings, and nconf will still allow using ENV overrides. See https://github.com/flatiron/nconf for syntax, or copy the config.json.example file to config.json.
- Loading branch information
Showing
4 changed files
with
44 additions
and
3 deletions.
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 |
---|---|---|
|
@@ -3,4 +3,5 @@ public/gen | |
node_modules | ||
#lib/ | ||
*.swp | ||
.idea* | ||
.idea* | ||
config.json |
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,15 @@ | ||
{ | ||
"PORT":3000, | ||
"IP":"0.0.0.0", | ||
"BASE_URL": "http://localhost", | ||
"FACEBOOK_KEY":"123456789012345", | ||
"FACEBOOK_SECRET":"aaaabbbbccccddddeeeeffff00001111", | ||
"NODE_DB_URI":"mongodb://user:pass@hostname:27017/db_name", | ||
"NODE_ENV":"development", | ||
"SESSION_SECRET":"YOUR SECRET HERE", | ||
"SMTP_USER":"user@domain.com", | ||
"SMTP_PASS":"password", | ||
"SMTP_SERVICE":"Gmail", | ||
"STRIPE_API_KEY":"aaaabbbbccccddddeeeeffff00001111", | ||
"STRIPE_PUB_KEY":"22223333444455556666777788889999" | ||
} |
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