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:
- Install
just
- 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:Username
:admin
Email
:[email protected]
Password
:admin
Commit changes?
:y
- Run
just up
and visit http://localhost:3000!
To re-generate the poetry lock file (if you need to update dependencies in pyproject.toml):
- Run
just lock
- Include the modified
poetry.lock
file in your commit
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.