This project will validate the input sides provided for a triangle.
Clone the Git repo using the following command:
git clone https://github.com/grbbabu/angular-triangle-validator.git
To run the application go to dist
folder in angular-triangle-validator folder and open the index.html file in your browser.
This application assumes that the following are installed locally in your computer.
- Git
- Node.js
- Bower (npm install -g bower)
- Grunt (npm install -g grunt-cli)
- Install Ruby, add it to your path.
- Install Sass gem (gem install sass)
- Install Compass gem (gem install compass)
Clone the Git repo using the following command:
git clone https://github.com/grbbabu/angular-triangle-validator.git
Go to angular-triangle-validator folder and install the development dependencies as follows:
npm install
Install the client side dependencies using the following command:
bower install
Create the distribution files using the following command:
grunt
To run the application go to dist
folder and open the index.html file in your browser.
Run grunt
for building and grunt serve
for preview.
Running grunt test
will run the unit tests with karma.
Running grunt karma:debug
will run the unit tests with karma in Chrome browser for debugging.