'use strict';

// Rename this file to local.js for having a local configuration variables that
// will not get commited and pushed to remote repositories.
// Use it for your API keys, passwords, etc.

/* For example:

module.exports = {
  db: {
    uri: 'mongodb://localhost/local-dev',
    options: {
      user: '',
      pass: ''
    }
  },
  sessionSecret: process.env.SESSION_SECRET || 'youshouldchangethistosomethingsecret',
  facebook: {
    clientID: process.env.FACEBOOK_ID || 'APP_ID',
    clientSecret: process.env.FACEBOOK_SECRET || 'APP_SECRET',
    callbackURL: '/api/auth/facebook/callback'
  }
};
*/


// SCRadio implementation of local
module.exports = {
  // Start environment to run app; I may leave this as the only environment variable to be set at run time
  //NODE_ENV: '',

  // Default config file vars
  GOOGLE_ANALYTICS_TRACKING_ID: '',

  // Variables for the Dev or Production config files
  MONGO_DB: 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/scradio',
  MONGO_USER: '',
  MONGO_PWD: '',
  SESSION_SECRET: '',
  MONGOLABURI: '',
  PORT: '',
  // vendor specific
  FACEBOOK_ID: '',
  FACEBOOK_SECRET: '',
  TWITTER_KEY: '',
  TWITTER_SECRET: '',
  GOOGLE_ID: '',
  GOOGLE_SECRET: '',
  LINKEDIN_ID: '',
  LINKEDIN_SECRET: '',
  GITHUB_ID: '',
  GITHUB_SECRET: '',
  PAYPAL_ID: '',
  PAYPAL_SECRET: '',
  MAILER_FROM: '',
  MAILER_SERVICE_PROVIDER: '',
  MAILER_EMAIL_ID: '',
  MAILER_PASSWORD: '',

  // Where log files are stored
  LOG_DIR_PATH: ''
};


@@ -198,425 +198,8 @@
 c.%0A%0A
-/* For example:%0A%0Amodule.exports = %7B%0A  db: %7B%0A    uri: 'mongodb://localhost/local-dev',%0A    options: %7B%0A      user: '',%0A      pass: ''%0A    %7D%0A  %7D,%0A  sessionSecret: process.env.SESSION_SECRET %7C%7C 'youshouldchangethistosomethingsecret',%0A  facebook: %7B%0A    clientID: process.env.FACEBOOK_ID %7C%7C 'APP_ID',%0A    clientSecret: process.env.FACEBOOK_SECRET %7C%7C 'APP_SECRET',%0A    callbackURL: '/api/auth/facebook/callback'%0A  %7D%0A%7D;%0A*/%0A%0A%0A
 // S
@@ -406,16 +406,18 @@
  vars%0A  
+//
 GOOGLE_A
@@ -499,16 +499,18 @@
 files%0A  
+//
 MONGO_DB
@@ -592,24 +592,26 @@
 scradio',%0A  
+//
 MONGO_USER: 
@@ -612,24 +612,26 @@
 USER: '',%0A  
+//
 MONGO_PWD: '
@@ -635,16 +635,18 @@
 : '',%0A  
+//
 SESSION_
@@ -659,16 +659,18 @@
 : '',%0A  
+//
 MONGOLAB
@@ -680,16 +680,18 @@
 : '',%0A  
+//
 PORT: ''
@@ -688,24 +688,25 @@
 //PORT: '',%0A
+%0A
   // vendor 
@@ -716,16 +716,18 @@
 cific%0A  
+//
 FACEBOOK
@@ -737,16 +737,18 @@
 : '',%0A  
+//
 FACEBOOK
@@ -754,32 +754,34 @@
 K_SECRET: '',%0A  
+//
 TWITTER_KEY: '',
@@ -783,16 +783,18 @@
 : '',%0A  
+//
 TWITTER_
@@ -803,24 +803,26 @@
 CRET: '',%0A  
+//
 GOOGLE_ID: '
@@ -826,16 +826,18 @@
 : '',%0A  
+//
 GOOGLE_S
@@ -841,32 +841,34 @@
 E_SECRET: '',%0A  
+//
 LINKEDIN_ID: '',
@@ -870,16 +870,18 @@
 : '',%0A  
+//
 LINKEDIN
@@ -891,24 +891,26 @@
 CRET: '',%0A  
+//
 GITHUB_ID: '
@@ -914,16 +914,18 @@
 : '',%0A  
+//
 GITHUB_S
@@ -933,24 +933,26 @@
 CRET: '',%0A  
+//
 PAYPAL_ID: '
@@ -956,16 +956,18 @@
 : '',%0A  
+//
 PAYPAL_S
@@ -975,24 +975,26 @@
 CRET: '',%0A  
+//
 MAILER_FROM:
@@ -996,24 +996,26 @@
 FROM: '',%0A  
+//
 MAILER_SERVI
@@ -1029,24 +1029,26 @@
 IDER: '',%0A  
+//
 MAILER_EMAIL
@@ -1058,16 +1058,18 @@
 : '',%0A  
+//
 MAILER_P
@@ -1116,16 +1116,18 @@
 tored%0A  
+//
 LOG_DIR_

Set local.example to comment out all vars by default, allowing the developer to choose what vars to insert with local.