Skip to content

OrcaCollective/OpenOversight

 
 

Build Status Documentation Latest GHCR.io image version Latest GHCR.io image size

OpenOversight (Seattle Fork)

OpenOversight is a Lucy Parsons Labs project to improve law enforcement accountability through public and crowdsourced data. We maintain a database of officer demographic information and provide digital galleries of photographs. This is done to help people identify law enforcement officers for filing complaints and in order for the public to see work-related information about law enforcement officers that interact with the public.

This repository represents the Seattle fork of the original project. For more info, see the old README or the original repository

Development

To run the project locally:

  1. Install just
  2. Run just fresh-start to spin up the database and insert the initial data. This will prompt you for information to create a local super-admin user. Enter this information for the following fields:
    1. Username: admin
    2. Email: admin@admin.com
    3. Password: admin
    4. Commit changes?: y
  3. Run just up and visit http://localhost:3000!

To re-generate the poetry lock file (if you need to update dependencies in pyproject.toml):

  1. Run just lock
  2. Include the modified poetry.lock file in your commit

Deployment

Please see the DEPLOY.md file for deployment instructions.

The same just commands can be used to deploy production. The docker-compose-prod.yml file defines the minimum services for running in production. In order to use this file, set the IS_PROD environment variable to true. This will run all commands using the prod docker file.

About

Police oversight and accountability through public data 👮

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages

  • Python 51.9%
  • JavaScript 18.9%
  • SCSS 14.5%
  • HTML 11.5%
  • CSS 2.7%
  • Makefile 0.2%
  • Other 0.3%