Skip to content

GrowMoi/haedus-front-end

Repository files navigation

moi-front-end

## development Circle CI Code Climate

development requirements

  • ruby & bundler
  • nodejs

booting up

  1. git clone [email protected]:GrowMoi/moi-front-end.git
  2. bundle
  3. npm install -g cordova
  4. npm install && bower install
  5. grunt serve

testing

we'll be using mocha + chai + sinon

run test suite with

grunt test

unit specs

aka karma

grunt karma:continuous

e2e specs

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

protractor:ci task

This task and runs a simple express server which will serve protractor's tests

This task will:

  1. build assets with test environment
  2. build html templates with jade and store them inside /templates
  3. 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

for ios emulate install

$ npm install -g ios-sim

deploying

$ bundle exec cap production deploy

resources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published