LandRegistry/charges-borrower-frontend

Name: charges-borrower-frontend

Owner: HM Land Registry

Description: null

Created: 2015-05-07 13:54:15.0

Updated: 2015-09-10 13:23:18.0

Pushed: 2015-11-20 13:44:37.0

Homepage: null

Size: 230

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Borrower Frontend

The Borrower Frontend provides a website for Borrower to view and sign their mortgage deeds online.

Contents
Usage
    /helloworld
    /deed/search
    /deed/search
    /deed/sign/confirmation
    /deed/sign
    /deed/view
    /deed/not_found
Getting started

Get the git submodules

submodule init
submodule update

Install the requirements

install -r requirements.txt
install -r requirements_test.txt

Optional: export variable for deed-api

rt DEED_API_BASE_HOST=http://localhost:8000

default is localhost:5050

Run the unit tests

on tests.py

Run the app

on run.py runserver

optional `-p 9000` where 9000 is the number of a port you can supply to start the server on.

Acceptance Tests
Running the Tests

All of the acceptance tests are contained within the acceptance-tests folder with the feature files under the features folder and the step-definitions under the steps folder.

If you would like to run all of the acceptance tests then navigate into the acceptance-tests folder and run the following command:

'./run_tests.sh'

Running Rubocop

Rubocop is ruby gem that will check any ruby code in the repository against the ruby style guide and then provide a report of any offenses.

In order to run Rubocop on the acceptance test code then navigate into the acceptance test folder and run the command:

' ./run_linting.sh'

If you wish to amend what cops are used, what files are ignored when running Rubocop then you will need to put this in the rubocop.yml file.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.