Mongo DB instructions:
- Install mongodb using homebrew:
brew install mongodb
- After downloading Mongo, create the “db” directory. This is where the Mongo data files will live. You can create the directory in the default location by running
mkdir -p /data/db
- Make sure that the /data/db directory has the right permissions by running
sudo chown -R
id -un/data/db
- Run the Mongo daemon, in one of your terminal windows run
mongod
. This should start the Mongo server. - Run the Mongo shell at
/usr/local/var/mongodb
, with the Mongo daemon running in one terminal, typemongo
in another terminal window. This will run the Mongo shell which is an application to access data in MongoDB. - Switch to Infrared's provisioning service database i.e.
use provisioning_service