This is a web application hosted on https://analytics.opendatahub.com to show data from the Open Data Hub in various forms. It is also possible to download data to process it with your preferred tool on your machine.
Table of Contents
Run the application inside the src/main/webapp
folder with python3 -m http.server 8999
and then check localhost:8999
for results. Make sure to use
the port 8999
, if you want to test authentication with our Keycloak test
server, since the callback has been set to localhost:8999
.
For the project a Docker environment is already prepared and ready to use with all necessary prerequisites.
These Docker containers are the same as used by the continuous integration servers.
Install Docker (with Docker Compose) locally on your machine.
Before start working you have to start the Docker containers:
docker-compose up --build --detach
After finished working you can stop the Docker containers:
docker-compose stop
When the containers are running, you can execute any command inside the
environment. Just replace the dots ...
in the following example with the
command you wish to execute:
docker-compose exec app /bin/bash -c "..."
Default map style uses openstreetmap. To use the Thunderforest map style, you can add your Thunderforest API key to the configuration file in src/main/webapp/config.js
The code in this project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE Version 3 license. See the LICENSE.md file for more information.
This project is REUSE compliant, more information about the usage of REUSE in NOI Techpark repositories can be found here.
Since the CI for this project checks for REUSE compliance you might find it useful to use a pre-commit hook checking for REUSE compliance locally. The pre-commit-config file in the repository root is already configured to check for REUSE compliance with help of the pre-commit tool.
Install the tool by running:
pip install pre-commit
Then install the pre-commit hook via the config file by running:
pre-commit install