Skip to content

UKHomeOffice/rotm

Repository files navigation

Report Online Terrorist Material (ROTM)

Docker Repository on Quay.io Build Status

This project is built with HOF and uses Docker.

Getting started

Get the project from GitHub

$ git clone [email protected]:UKHomeOffice/rotm.git && cd rotm

Install the dependencies and build the project resources

$ yarn

Install Docker Compose

Run the services locally with Docker Compose

$ docker-compose up

Getting your hands dirty (You'll need Redis for this)

$ yarn start:dev

For anything else ROTM-related, look in package.json for a full list of scripts etc, and config.js for environment variables.

Otherwise, see HOF.

Running acceptance tests

To run the acceptance test

$ yarn test:acceptance

To run a test by tag, add a tag to your test e.g. @links and run the following command

$ yarn test:cucumber @links

To run a test by it's name (or grep) e.g. if the test has I can select the 'back' button

$ yarn test:cucumber-name "I can select the 'back' button"