Source: github.com/dataoverheid/dcat-ap-donl-waardelijsten
See the requirements.txt
file for specific pip
dependencies.
Execute the following commands in a terminal of choice.
git clone --single-branch --branch master 'git@github.com:dataoverheid/dcat-ap-donl-waardelijsten.git'
virtualenv dcat-ap-donl-waardelijsten/venv
source dcat-ap-donl-waardelijsten/venv/bin/activate
python -m pip install -r dcat-ap-donl-waardelijsten/requirements.txt --no-cache-dir
Now configure the following scheduled task, the example below uses crontab. The goal is to execute the command daily at 23:00 (CET).
0 23 * * * * (cd /path/to/dcat-ap-donl-waardelijsten && ./venv/bin/python src/waardelijsten_updater.py /var/www/waardelijsten.dcat-ap-donl.nl)
Now configure your webserver to serve the public/
directory.