Skip to content

hmcts/hwf-publicapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Help with fees - public facing app

Code Climate Test Coverage

Build Status

Help with fees app for public.

Dependency

Mimemagic gem has a dependency so you need to install this on your machine first brew install shared-mime-info.

Redis

HwF Public app is not using standard database. It's using Redis key store. You will need to run a redis-server in order for the application to work correctly.

More info: https://redis.io/docs/getting-started/installation/install-redis-on-mac-os/

Docker

Using this command docker build hmcts/hwf-publicapp:vX.Y

(Where X & Y are version numbers)

Feature tests

See the feature testing README.

Frontend toolkit

npm install --save govuk-frontend (https://github.com/alphagov/govuk-frontend/blob/master/docs/installation/installing-with-npm.md)

Run tests in parallel

Follow the official guides to setup your local env.

Run the specs in parallel

RAILS_ENV=test bundle exec rake parallel:spec

Run the cucumber features in parallel

CAPYBARA_SERVER_PORT=random bundle exec rake parallel:features

Deployment versions trigger: 3