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
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
default is localhost:5050
Run the unit tests
Run the app
python run.py runserver
-p 9000where 9000 is the number of a port you can supply to start the server on.
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:
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.