- Homebrew (http://brew.sh/)
- Node.js (http://nodejs.org/)
- MongoDB (http://www.mongodb.org/)
Run in a Terminal/Console:
- brew update
- brew install mongodb
- mkdir -p /data/db
- Set permissions for the data directory (ensure that the user account running mongod has read and write permissions for the directory)
Go to NodeJs website for instructions
Run in a terminal:
- mongo (to start the database)
- use gtfsdb (to create/switch to database)
- (optional) use the mongod command to watch the mongo activity
- npm install
- npm install -g bower (if you don't have bower installed)
- bower install or bower update (if you already have bower installed)
- npm start
- Go to http://localhost:3000
- Install nodemon:
npm install -g nodemon
- Run nodemon:
nodemon bin/www