Scaffolds an app with Backbone.js, Require.js and Mocha-phantomjs testing.
Make sure you have Yeoman installed: sudo npm install -g yo
- git clone https://github.com/Gijsjan/generator-backbone-amd.git
- cd generator-backbone-amd
- sudo npm link
- mkdir ~/my_app
- cd ~/my_app
- yo backbone-amd
- npm start
- Browse to 0.0.0.0:8000/.test/index.html
- grunt watch
- edit a .coffee file in /test
- Browse to 0.0.0.0:8000/.test/index.html