generator-ngstack
Version:
Based on DaftMonk generator-angular-fullstack, this is a custom mean stack yeoman generator
24 lines (17 loc) • 748 B
JavaScript
;
// 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: ''
};