-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): add sample env config file that can be tracked by git
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
'use strict'; | ||
|
||
// Use local.env.js for environment variables that grunt will set when the server starts locally. | ||
// Use for your api keys, secrets, etc. This file should not be tracked by git. | ||
// | ||
// You will need to set these on the server you deploy to. | ||
|
||
module.exports = { | ||
DOMAIN: 'http://localhost:9000', | ||
SESSION_SECRET: "<%= _.slugify(appname) + '-secret' %>",<% if (filters.facebookAuth) { %> | ||
|
||
FACEBOOK_ID: 'app-id', | ||
FACEBOOK_SECRET: 'secret',<% } if (filters.twitterAuth) { %> | ||
|
||
TWITTER_ID: 'app-id', | ||
TWITTER_SECRET: 'secret',<% } if (filters.googleAuth) { %> | ||
|
||
GOOGLE_ID: 'app-id', | ||
GOOGLE_SECRET: 'secret', | ||
<% } %> | ||
// Control debug level for modules using visionmedia/debug | ||
DEBUG: '' | ||
}; |