Created
May 13, 2014 05:01
-
-
Save henryboldi/f8add50c2d15bc2db0be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* For more information on adapter configuration, check out: | |
* http://sailsjs.org/#documentation | |
*/ | |
module.exports.adapters = { | |
// // If you leave the adapter config unspecified | |
// // in a model definition, 'default' will be used. | |
'default': 'mongo', | |
mongo: { | |
module: 'sails-mongo', | |
url: 'mongodb://hackerbracket:[email protected]:10479/hackerbracket', | |
schema: true | |
}, | |
environment: 'development', | |
port: 1337, | |
mongo: { | |
module : 'sails-mongo', | |
url: process.env.DB_URL, | |
schema: true | |
} | |
// swag test | |
// // Persistent adapter for DEVELOPMENT ONLY | |
// // (data IS preserved when the server shuts down) | |
// disk: { | |
// module: 'sails-disk' | |
// }, | |
// // MySQL is the world's most popular relational database. | |
// // Learn more: http://en.wikipedia.org/wiki/MySQL | |
// mysql: { | |
// module: 'sails-mysql', | |
// host: 'YOUR_MYSQL_SERVER_HOSTNAME_OR_IP_ADDRESS', | |
// user: 'YOUR_MYSQL_USER', | |
// // Psst.. You can put your password in config/local.js instead | |
// // so you don't inadvertently push it up if you're using version control | |
// password: 'YOUR_MYSQL_PASSWORD', | |
// database: 'YOUR_MYSQL_DB' | |
// } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment