No description, website, or topics provided.
Clone or download
Pull request Compare This branch is 38 commits behind LandRegistry:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Borrower Frontend

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



GET     /helloworld
GET     /deed/search
POST    /deed/search
GET     /deed/sign/confirmation
POST    /deed/sign
GET     /deed/view
GET     /deed/not_found

Getting started

Get the git submodules

git submodule init
git submodule update

Install the requirements

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

Optional: export variable for deed-api

export DEED_API_BASE_HOST=http://localhost:8000

default is localhost:5050

Run the unit tests


Run the app

python 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:


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:

' ./'

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.