Skip to content

Instantly share code, notes, and snippets.

@ericrius1
Created September 9, 2013 21:12
Show Gist options
  • Save ericrius1/6501591 to your computer and use it in GitHub Desktop.
Save ericrius1/6501591 to your computer and use it in GitHub Desktop.
var path = require('path')
, rootPath = path.normalize(__dirname + '/..')
, templatePath = path.normalize(__dirname + '/../app/mailer/templates')
, notifier = {
APN: false,
email: false, // true
actions: ['comment'],
tplPath: templatePath,
postmarkKey: 'POSTMARK_KEY',
parseAppId: 'PARSE_APP_ID',
parseApiKey: 'PARSE_MASTER_KEY'
}
module.exports = {
development: {
db: 'mongodb://localhost/ngff-dev',
root: rootPath,
notifier: notifier,
app: {
name: 'ngMagnets - Development'
}
},
test: {
db: 'mongodb://localhost/ngff-test',
root: rootPath,
notifier: notifier,
app: {
name: 'ngMagnets - Test'
}
},
production: {
db: process.env.NES_MONGO_URI,
root: rootPath,
notifier: notifier,
app: {
name: 'ngMagnets - Production'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment