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
To run the project locally:
just
just fresh-start
to spin up the database and insert the initial data. This will create a local super-admin user for you with the following information:
Username
: admin
Email
: admin@admin.com
Password
: admin
To re-generate the poetry lock file (if you need to update dependencies in pyproject.toml):
just lock
poetry.lock
file in your commitPlease 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.