Follow the steps below to have the template in a working status.
-
Install Git and npm if you haven't done yet.
-
install bower by "npm install bower -g"
-
Install grunt client by "npm install grunt-cli -g"
-
Change to the ng-ts-template folder.
-
npm install - This will install everything required for a typescript angularjs (< 2.0) AMD source code.
-
grunt - This will build the code.
Open the "index.html" in a browser.
If this is installed on a linux box, have http-server installed using "npm install http-server" Now use http-server Open the url in a browser.
- make sure karma is installed (npm install karma -g).
- npm test
Open a command window and do the following.
- run "webdriver-manager update"
- run "webdriver-manager start"
- Now run "protractor"