- mongodb
npm install -g parse-server mongodb-runner
mongodb-runner start &
npm start
*There will be warnings in the console, but the dashboard is functional.
Dashboard: http://localhost:4040/dashboard/login
Username:
admin
Password:admin
Parse Server: http://localhost:1337/parse
$ brew update
$ brew doctor
$ brew install mongodb
$ sudo mkdir -p /data/db
$ sudo chown -R `id -un` /data/db
$ ls -la /data/db
https://gist.github.com/subfuzion/9630872
Set up launchctl to auto start mongod
$ ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
/usr/local/opt/mongodb/
is a symlink to /usr/local/Cellar/mongodb/x.y.z
(e.g., 2.4.9
)
You can use launchctl to start and stop mongod
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
$ launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
You can also more conveniently use brew
to start, stop, and verify service status
$ brew services list | grep mongodb
$ brew services start mongodb
$ brew services stop mongodb
The default plist provided bymarkthe dbpath
to be /usr/local/var/mongodb
instead of the default /data/db
.
For more about launchctl
see:
$ mongod
# or
$ brew services start mongodb
$ mongo
$ npm install -g parse-server mongodb-runner
MongoDB Runner needs to be running to provide Mo
$ mongodb-runner start &
Login at:
http://localhost:4040/dashboard/login
Username:
admin
Password:admin
Change in config/parse.config.js (.users)