I'm using npm
to install:
sailsjs:
npm install -g git://github.com/balderdashy/sails.git
(v0.10 - master)sails-mongo adapter:
npm install git://github.com/balderdashy/sails-mongo.git
(also v0.10 - master)mongoDB version : 2.6.1
When executing "sails lift", I'm expecting it to
a) lift my server b) create my database on mongodb server and the collections defined in my models.
config :
connections.js
mongo : {
adapter: 'sails-mongo',
host: '127.0.0.1',
port: 27017,
user: '',
password : '',
database : 'mydb'
}
models.js
connection : 'mongo'
I have not defined any additional connection information in local.js
I lift my server, check mongodb via the terminal and do not see "mydb" created.
Any idea's?
extra info
I did read that if you have any configuration issues when defining an adapter that it will default to the localDiskDb.