Mortgage Calculator
===================

Rails engine, providing a suite of calculators to determine affordability.


## Installation

Add this line to your application's Gemfile:

```sh
git clone git@github.com:moneyadviceservice/mortgage_calculator.git
```

Ensure you have bundler, node, npm and bower installed and execute:

```sh
$ bundle
$ npm install
$ bower install
```

### Dependencies

Requires a HTML lang attribute set. Javascript code uses this attribute to determine which locale to display.
```erb
<html lang="<%= I18n.locale %>">
```

## Usage

To start the dummy application:

```sh
$ cd spec/dummy
$ rails s
```

## Tests

```sh
bundle exec rake
```
This will run cucumber tests through poltergeist with and without javascript. It will then run rspec and karma.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Mortgage Calculator
===================

Rails engine, providing a suite of calculators to determine affordability.



## Installation

Add this line to your application's Gemfile:

```sh
git clone git@github.com:moneyadviceservice/mortgage_calculator.git
```

Ensure you have bundler, node, npm and bower installed and execute:

```sh
$ bundle
$ npm install
$ bower install
```

### Dependencies

Requires a HTML lang attribute set. Javascript code uses this attribute to determine which locale to display.
```erb
<html lang="<%= I18n.locale %>">
```

## Usage

To start the dummy application:

```sh
$ cd spec/dummy
$ rails s
```

## Tests

```sh
bundle exec rake
```
This will run cucumber tests through poltergeist with and without javascript. It will then run rspec and karma.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Test commit for id:1885 comment: test comment
Test commit for id:1885 comment: test comment
