Skip to content

moneyadviceservice/mortgage_calculator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mortgage Calculator

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

Technical docs

Installation

Add this line to your application's Gemfile:

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

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

$ bundle
$ npm install
$ bowndler install

Dependencies

Requires a HTML lang attribute set. Javascript code uses this attribute to determine which locale to display.

<html lang="<%= I18n.locale %>">

Usage

To start the dummy application:

$ cd spec/dummy
$ rails s

Tests

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