- ruby & bundler
- nodejs
git clone [email protected]:GrowMoi/moi-front-end.git
bundle
npm install -g cordova
npm install && bower install
grunt 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
test
environment - 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