dataoverheid / dcat-ap-donl-waardelijsten

Contains the single-page-application which published the DCAT-AP-DONL valuelists on waardelijsten.dcat-ap-donl.nl
Other
0 stars 2 forks source link

waardelijsten.dcat-ap-donl.nl

Source: github.com/dataoverheid/dcat-ap-donl-waardelijsten

requirements

See the requirements.txt file for specific pip dependencies.

installation

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.