Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Creating your development environment

couch edited this page Apr 12, 2012 · 7 revisions

Install node.js

Download and install node.js from nodejs.org or use homebrew:

brew install node

Either way, you'll end up with node.js and npm installed in /usr/local/bin.

Install MongoDB

Consult MongoDB's Quickstart guide, or again, using homebrew:

brew install mongodb

Create your local data directory

MongoDB will store its data in /data/db but it won't create the directory for you.

sudo mkdir -p /data/db/
sudo chown `id -u` /data/db

You can store your data elsewhere, but you'll then need to specify the location with the --dbpath option when starting the server.

Download Ospriet

Clone Ospriet into your working directory:

git clone git@github.com:twitter/ospriet.git