-
Download Node Manager
-
Run the node-v4.2.4.pkg
-
Click continue
-
Click continue
-
Click Agree
-
Select :"Install for all users of this computer" and click continue
-
Click Install
It will be installed in /usr/local/bin so make sure
export PATH="/usr/local/bin:$PATH" and test with
npm -version npm install --global npm@latest
-
Change permission
sudo chown -R <username e.x:roybay> /usr/local/
-
Install Grunt, Bower Package Manager and Yeoman
npm install --global yo bower grunt-cli
-
Confirm installation
yo --version && bower --version && grunt --version
-
Install Generators
npm install --global generator-karma generator-angular npm install --global phantomjs jasmine-core karma grunt-karma
-
Go to the root directory
-
Run the npm
npm install
-
Run the bower
bower install
-
Run the Angular application
grunt serve
-
Run the karma test
grunt test
-
Install packages
bower install --save <jquery-ui>
(bower.json is also be updated because of --save option)
-
Make the lean version of the application
grunt
- Run
npm install grunt-proctractor-runner