Our Agenda App
From project directory...
npm install
bower install
grunt test
Acceptance tests need:
- phantomjs and casperjs installed globally:
npm install -g phantomjs casperjs
is the preferred method although you may need to use your system package manager (brew, apt-get, yum, etc) to install them. Set a PHANTOMJS_EXECUTABLE environment variable to point to your PhantomJS install. - some seed data to pass:
grunt mongoimport && grunt test:acceptance
default
: jshint, test, watch:express
build:dev
: clean:dev, sass:dev, browserify:dev, jshint:all, copy:dev
build:prod
: clean:prod, browserify:prod, jshint:all, copy:prod
test
: jshint, simplemocha:dev
test:acceptance
: express:dev, casper
server
: build:dev, express:dev, watch:express
mochacov:html
: mac usage: grunt mochacov:html > doc/coverage.html && open -a Google\ Chrome doc/coverage.html
Check out the Markdown document in doc/tutorial.md