
module.exports = {
    development: {
      root: require('path').normalize(__dirname + '/..'),
      app: {
        name: 'Nodejs Express Mongoose Demo'
      },
      db: 'mongodb://localhost/noobjs_dev',
      facebook: {
          clientID: "APP_ID"
        , clientSecret: "APP_SECRET"
        , callbackURL: "http://localhost:3000/auth/facebook/callback"
      },
      twitter: {
          clientID: "CONSUMER_KEY"
        , clientSecret: "CONSUMER_SECRET"
        , callbackURL: "http://localhost:3000/auth/twitter/callback"
      },
      github: {
          clientID: 'APP_ID'
        , clientSecret: 'APP_SECRET'
        , callbackURL: 'http://localhost:3000/auth/github/callback'
      },
      google: {
          clientID: "APP_ID"
        , clientSecret: "APP_SECRET"
        , callbackURL: "http://localhost:3000/auth/google/callback"
      }
    }
  , test: {

    }
  , production: {

    }
}

@@ -1,214 +1,572 @@
 %0A
-module.exports = %7B%0A    development: %7B%0A      root: require('path').normalize(__dirname + '/..'),%0A      app: %7B%0A        name: 'Nodejs Express Mongoose Demo'%0A      %7D,%0A      db: 'mongodb://localhost/noobjs_dev',%0A  
+var path = require('path')%0A  , rootPath = path.normalize(__dirname + '/..')%0A  , templatePath = path.normalize(__dirname + '/../app/mailer/templates')%0A  , notifier = %7B%0A      APN: false,%0A      email: false, // true%0A      actions: %5B'comment'%5D,%0A      tplPath: templatePath,%0A      postmarkKey: 'POSTMARK_KEY',%0A      parseAppId: 'PARSE_APP_ID',%0A      parseApiKey: 'PARSE_MASTER_KEY'%0A    %7D%0A%0Amodule.exports = %7B%0A  development: %7B%0A    db: 'mongodb://localhost/noobjs_dev',%0A    root: rootPath,%0A    notifier: notifier,%0A    app: %7B%0A      name: 'Nodejs Express Mongoose Demo'%0A    %7D,%0A
     
@@ -575,36 +575,32 @@
 cebook: %7B%0A      
-   
- 
 clientID: %22APP_I
@@ -597,34 +597,31 @@
 ID: %22APP_ID%22
+,
 %0A     
-   ,
  clientSecre
@@ -631,34 +631,31 @@
 %22APP_SECRET%22
+,
 %0A
-  
      
- ,
  callbackURL
@@ -703,31 +703,27 @@
 llback%22%0A    
-  
 %7D,%0A
-  
     twitter:
@@ -723,36 +723,32 @@
 witter: %7B%0A      
-  
-  
 clientID: %22CONSU
@@ -755,26 +755,23 @@
 MER_KEY%22
+,
 %0A
-  
      
- ,
  clientS
@@ -790,34 +790,31 @@
 UMER_SECRET%22
+,
 %0A
- 
      
-  ,
  callbackURL
@@ -861,31 +861,27 @@
 llback%22%0A    
-  
 %7D,%0A
-  
     github: 
@@ -880,36 +880,32 @@
 github: %7B%0A      
-  
-  
 clientID: 'APP_I
@@ -906,26 +906,23 @@
 'APP_ID'
+,
 %0A
-  
      
- ,
  clientS
@@ -940,26 +940,23 @@
 _SECRET'
+,
 %0A
- 
      
-  ,
  callbac
@@ -1010,23 +1010,19 @@
 ck'%0A    
-  
 %7D,%0A
-  
     goog
@@ -1033,20 +1033,16 @@
 %7B%0A      
-  
-  
 clientID
@@ -1051,26 +1051,23 @@
 %22APP_ID%22
+,
 %0A
-  
      
- ,
  clientS
@@ -1089,18 +1089,15 @@
 RET%22
+,
 %0A
- 
      
-  ,
  cal
@@ -1159,29 +1159,25 @@
     
-  %7D%0A    %7D
+%7D,%0A  %7D,
 %0A 
- ,
  test: %7B
 %0A%0A  
@@ -1176,19 +1176,12 @@
 t: %7B
-%0A%0A    
 %7D
+,
 %0A 
- ,
  pro
@@ -1194,14 +1194,8 @@
 n: %7B
-%0A%0A    
 %7D%0A%7D%0A

update config to add notifier and cleanup