Skip to content

Instantly share code, notes, and snippets.

@henryboldi
Created May 13, 2014 20:33
Show Gist options
  • Save henryboldi/b725851b394661d754fe to your computer and use it in GitHub Desktop.
Save henryboldi/b725851b394661d754fe to your computer and use it in GitHub Desktop.
module.exports = {
port: process.env.PORT || 1337,
environment: process.env.NODE_ENV || 'development',
adparters: {
'default': 'mongo',
mongo: {
module : 'sails-mongo',
url: process.env.DB_URL,
schema: true
}
},
port: 80,
environment: 'production',
adparters: {
'default': 'mongo',
mongo: {
module: 'sails-mongo',
url: 'mongodb://hackerbracket:[email protected]:10096/HackerBracket',
schema: true
}
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment