Setup db config for local and prod

This commit is contained in:
Ben Ramey
2014-03-22 18:50:41 -05:00
parent 03f11a32fb
commit 56697680f5

View File

@@ -27,20 +27,6 @@ module.exports.adapters = {
mongo: {
module: 'sails-mongo',
schema: true,
host: 'localhost',
database: 'lunch'
},
// MySQL is the world's most popular relational database.
// Learn more: http://en.wikipedia.org/wiki/MySQL
myLocalMySQLDatabase: {
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'
url: process.env.DB_URL
}
};