- ruby & bundler
- nodejs
git clone git@github.com:GrowMoi/moi-front-end.gitbundlenpm install && bower installgrunt serve
we'll be using mocha + chai + sinon
run test suite with
grunt test
aka karma
grunt karma:continuous
aka protractor.
End-to-end specs are run against integration's backend server. Take a look at backend environments at https://github.com/GrowMoi/moi/wiki/Environment
we are using chai-as-promised to resolve our promises on expectations
This task and runs a simple express server which will serve protractor's tests
This task will:
- build assets with
testenvironment - build html templates with jade and store them inside /templates
- run a simple express server to serve the application
grunt protractor:ci
if you're running protractor locally, make sure you are also running the backend to answer requests. Will be looked for by default on development environment at localhost:5000
$ npm install -g ios-sim
$ bundle exec cap production deploy
first build for production locally and then deploy (will copy the dist folder to the server)
$ grunt build
$ bundle exec cap abi deploy