git clone git@github.com:open-source-society/ossu-api.gitnpm installbrew update && brew install mongodbDownload the binaries
curl -O https://fastdl.mongodb.org/osx/mongodb-osx-x86_64-3.0.6.tgzExtract the binaries
tar -zxvf mongodb-osx-x86_64-3.0.6.tgzCopy the extracted files to the target directory
mkdir /opt/mondodb
cp -R -n mongodb-osx-x86_64-3.0.<6 class="tgz"></6>Add MongoDB to the PATH variable
export PATH=/opt/mongodb/bin:$PATHNote: To permanently update PATH add the install directory to ~/.bashrc.
###4. Create the data folder
mkdir data###5. Startup up MongoDB
mongod --dbpath ./datanode connected.jsnode collection.js --create [name]node collection.js --destroy [name]- MongoDB