Hate crimes monitor for political motivated assaults in Brazil.
Requires a Google account, Python 3.7 and Redis.
- Install the dependencies with
pip install -r requirements.txt
- Create a Google Sheets file
- Create two spreadsheets (tabs) in this file
- Use the files from
tests/fixtures
to fill in these spreadsheets - Then copy
.env.sample
as.env
and setup Redis access and the Google Sheets data- The unique ID from the Google Sheet URL is the
SPREADSHEET_ID
- The
gid
URL parameter Google generates when exporting each spreadsheet as CSV is the value ofCASES_SPREADSHEET_GID
andSTORIES_SPREADSHEET_GID
- The unique ID from the Google Sheet URL is the
Spin up the server with:
$ python run.py
Run tests with:
$ pytest