Creating your development environment

couch edited this page Apr 12, 2012 · 7 revisions

Install node.js

Download and install node.js from 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

Next: Creating a Twitter app →