Thanks to visit codestin.com
Credit goes to github.com

Skip to content

renecatharsis/uk-policing

Repository files navigation

uk-policing

setup

docker

  • cp .env.dist .env
  • configure your credentials and update DOCKER_COMPOSE_FILE depending on which env you want to run
  • docker compose up -d --build

keycloak

  • container might stop on the initial boot since db user hasn't been crated yet - a single restart once will fix that
  • make sure to create a new admin user and delete the default one
  • create a user in realm uk-policing and client policing-ui (no default user is created)

spring boot

local

  • run in your IDE of choice

production

  • tbd
  • adjust your domain/cors/session/token etc settings to match your system and requirements

importing data

  • put all your CSV files from https://data.police.uk/data/ into import folder (they will be imported recursively)
  • make sure to delete them after importing them once, otherwise they will be imported again on the next startup

testing

  • JUnit tests don't require any setup, just run them in your IDE

About

A set of APIs providing access to data from data.police.uk

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published