Skip to content

Commit

Permalink
feat(server): add sample env config file that can be tracked by git
Browse files Browse the repository at this point in the history
  • Loading branch information
DaftMonk committed Aug 14, 2014
1 parent 781a745 commit c9f80bc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app/templates/server/config/_local.env.sample.js
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: ''
};

0 comments on commit c9f80bc

Please sign in to comment.