Skip to content

🦜 An early warning system, alerting IATI publishers to any major problems with their published data

License

Notifications You must be signed in to change notification settings

pwyf/iati-canary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IATI Canary

Credit: Dick Daniels (http://carolinabirds.org/); License: https://creativecommons.org/licenses/by-sa/3.0/deed.en

How does it work?

IATI Canary leans heavily on some of the somewhat hidden outputs of IATI Data Dump – specifically, the various error logs that are stored as GitHub gists here.

A note about design

It might be nicer to store an error history for each dataset. But it’s not feasible to do that whilst staying within the 10,000 database row limit that’s imposed on the free tier of postgres on Heroku.

Installation

cp .env.example .env

…and modify as appropriate.

Install dependencies using pipenv:

pipenv install

And set up database:

pipenv run flask db upgrade

Getting started

Run a local development server:

pipenv run flask run

Various commands need to be run as cron tasks. Specifically:

pipenv run flask cleanup
pipenv run flask fetch-errors
pipenv run flask send-emails

About

🦜 An early warning system, alerting IATI publishers to any major problems with their published data

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published