Skip to content

grbbabu/angular-triangle-validator

Repository files navigation

Angular Triangle Validator

This project will validate the input sides provided for a triangle.

Running the application

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.

Developing the application

Prerequisites

This application assumes that the following are installed locally in your computer.

  1. Git
  2. Node.js
  3. Bower (npm install -g bower)
  4. Grunt (npm install -g grunt-cli)
  5. Install Ruby, add it to your path.
  6. Install Sass gem (gem install sass)
  7. Install Compass gem (gem install compass)

Running the application

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.

Build & development

Run grunt for building and grunt serve for preview.

Testing

Running grunt test will run the unit tests with karma.

Debugging Unit Tests

Running grunt karma:debug will run the unit tests with karma in Chrome browser for debugging.

About

An angular application to validate sides of a triangle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published