Skip to content

wallter/print3d-node-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assembled (code to come soon) by Tyler Wall


Dependencies

  • mongodb

QuickStart

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

MongoDB Install Mac OSX via homebrew

$ brew update
$ brew doctor
$ brew install mongodb
$ sudo mkdir -p /data/db
$ sudo chown -R `id -un` /data/db
$ ls -la /data/db

Install MongoDB with Homebrew

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

Notes

The default plist provided bymarkthe dbpath to be /usr/local/var/mongodb instead of the default /data/db.

For more about launchctl see:

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/launchctl.1.html#//apple_ref/doc/man/1/launchctl

http://launchd.info/

Start MongoDB daemon

$ mongod
# or
$ brew services start mongodb

Enter Mongo CLI

$ mongo

Install

$ npm install -g parse-server mongodb-runner

Start mongo-runner

MongoDB Runner needs to be running to provide Mo

$ mongodb-runner start &

Login

Login at:

http://localhost:4040/dashboard/login

Username: admin
Password: admin

Change in config/parse.config.js (.users)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published