diff --git a/app/templates/server/config/_local.env.sample.js b/app/templates/server/config/_local.env.sample.js new file mode 100644 index 000000000..c24fffd3a --- /dev/null +++ b/app/templates/server/config/_local.env.sample.js @@ -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: '' +};