oaa
Our Agenda App
Installation
From project directory...
npm install
bower install
grunt test
Acceptance Tests
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
Grunt Tasks
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
Documentation
Check out the Markdown document in doc/tutorial.md