Test your IATI data against the Publish What You Fund Aid Transparency Index tests.
-
Clone the repository:
git clone --recursive https://github.com/pwyf/data-quality-tester.git cd data-quality-tester
-
Set up a virtualenv:
pyvenv venv source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Copy (and edit, if you wish)
config.py.tmpl
:cp config.py.tmpl config.py
-
Set the environment variables:
export FLASK_APP=DataQualityTester/__init__.py export FLASK_ENV=development
β¦Or you can alternatively append it to
venv/bin/activate
with something like:echo -e '\nexport FLASK_APP=DataQualityTester/__init__.py\nexport FLASK_ENV=development' >> venv/bin/activate
-
Set up the database:
flask db upgrade
-
Start Redis:
redis-server
-
Start a celery worker:
celery worker --app DataQualityTester.celery
-
Start the webserver:
flask run