Skip to content

wendycan/angular-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Angular Starter These are the source files that show you a basic demo, which is based on angular. ##Installation Make sure you have Ruby 1.9.3+ and Bundler installed.Then you should have middleman and bower installed.

gem install middleman

Bower depends on Node and npm. It's installed globally using npm:

npm install -g bower

##Start server Change directories into your new project and start the preview server:

cd MY_PROJECT
middleman server

##Start test

Running Unit Tests

These are written in Jasmine, which we run with the Karma Test Runner. We provide a Karma configuration file to run them.

npm test

To do a single run of the tests and then exit.

npm run test-single-run

End to end testing

npm run update-webdriver
npm run protractor

If you get failure, you can refer to this wiki:
failure to run protractor