Skip to content
A digital service for categorising prisoners
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
assets
bin
deploy
gradle/wrapper
integration-tests
migrations
server
test
.dockerignore
.editorconfig
.eslintignore
.eslintrc.json
.gitattributes
.gitignore
.prettierrc
Dockerfile
README.md
docker-compose.yml
gradlew
gradlew.bat
knexfile.js
log.js
package-lock.json
package.json
server.js
settings.gradle

README.md

categorisation-tool

A digital service for categorising prisoners

Dev Website

https://categorisation-tool.apps.cloud-platform-live-0.k8s.integration.dsd.io/

Based on GOVUK startkit

A simple starter kit to start writing node app with the gov uk front end toolkit.

Getting started

The easiest way to get started is to use docker compose to download and run the three required containers.

docker-compose pull

docker-compose up

for detailed instructions see https://dsdmoj.atlassian.net/wiki/spaces/NFS/overview

###Users You can log in with users stored int eh seeded nomis oauth db e.g. CA_USER, password123456

Dependencies

The app authenticates using nomis Nomis Oauth2 Server and saves to a Postgres database.

Runing the app for development**

Build assets

npm run build

Install dependencies using npm install ensure you are using >= Node v8.4.0

Env variables

In config.js you can see all the required variables. These are set with defaults that will allow the application to run, but you will need to add a .env file at some point.

npm run start

Run linter

npm run lint

Run tests

npm run test

You can’t perform that action at this time.