-
Start a local mongodb instance
mongod --dbpath=mongodb-2.2-demo/ &
-
Run the server as a single instance:
slc run .
-
Run the server in 'clustered mode', with an instance per CPU
slc run . --size=cpus
-
Access the server using the following URLs
- Sample user credentials, if prompted for authorization, use :
- user: strongloop
- password: password
Update config/config.js:
exports.creds = {
mongo: {
'hostname': 'localhost', // Host name
'port': 27017, // Port number
'username': '',
'password': '',
'name': '',
'db': 'sample-blog_development' // DB name
}
}