Start an instance of a node Docker container and run all these commands inside
This assumes you are using SSH keys for github access. If not, you will need to get your Github credentials into the container in order for the bower step to work.
docker run --rm -it -v ~/.ssh:/root/.ssh:ro -v `pwd`:/srv/ttm-coffeescript-math -w /srv/ttm-coffeescript-math node:0.10 bash
npm install
npm install bower grunt-cli@1.2
./node_modules/.bin/bower --allow-root install
./node_modules/.bin/grunt serve
./node_modules/.bin/grunt test
./node_modules/.bin/grunt build