The following steps should get a new developer up and running. Feel free to further create shortcuts and update this documentation
-
Download and install mongo: http://www.mongodb.org/downloads. I have a soft link to mongo and mongod
-
Install node
-
Navigate to the root of the project and type
npm install
-
Copy config/example.config to dev.config and edit the settings. If you need a mail server I can give you our credentials for sendgrid.
-
On the root of the project:
chmod +x bin
-
The following steps will need to be followed everytime you run the project:
-
Open a terminal and run mongod
-
Open another terminal, navigate to the project root and type
bin/watch-js
-
Open another terminal, navigate to the project root and type
source config/dev.config
-
In that same terminal, now type
coffee start.coffee
-
create an user
-
set user password: curl -d "user[email]=user@host.edu&user[password]=secret" http://localhost:3000/api/users/user@host.edu