Skip to content

Commit c9f80bc

Browse files
committed
feat(server): add sample env config file that can be tracked by git
1 parent 781a745 commit c9f80bc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
'use strict';
2+
3+
// Use local.env.js for environment variables that grunt will set when the server starts locally.
4+
// Use for your api keys, secrets, etc. This file should not be tracked by git.
5+
//
6+
// You will need to set these on the server you deploy to.
7+
8+
module.exports = {
9+
DOMAIN: 'http://localhost:9000',
10+
SESSION_SECRET: "<%= _.slugify(appname) + '-secret' %>",<% if (filters.facebookAuth) { %>
11+
12+
FACEBOOK_ID: 'app-id',
13+
FACEBOOK_SECRET: 'secret',<% } if (filters.twitterAuth) { %>
14+
15+
TWITTER_ID: 'app-id',
16+
TWITTER_SECRET: 'secret',<% } if (filters.googleAuth) { %>
17+
18+
GOOGLE_ID: 'app-id',
19+
GOOGLE_SECRET: 'secret',
20+
<% } %>
21+
// Control debug level for modules using visionmedia/debug
22+
DEBUG: ''
23+
};

0 commit comments

Comments
 (0)