Skip to content
Publieke content voor PDOK data lab
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_layouts FIXED: Do not include YASGUI libraries on non-Data Stories pages. Mar 5, 2019
_sass small style refactorings Jul 4, 2018
apps FIXED: Do not include YASGUI libraries on non-Data Stories pages. Mar 5, 2019
assets FIXED: Typo in graph image. Mar 18, 2019
cert Update config, local hosting Jun 6, 2017
data
datascience Update index.md Jan 17, 2019
doc
facetcheck
internships Update index.md Feb 14, 2019
presentations up Mar 21, 2019
publications FIXED: Do not include YASGUI libraries on non-Data Stories pages. Mar 5, 2019
script
stories Update index.md Mar 19, 2019
web-content/resources correct pdf Jan 8, 2018
.eslintrc Client-side render datasets Jun 15, 2017
.gitignore ENHANCED: Updated various browser. May 12, 2018
CNAME
Gemfile
LICENSE
README.md
_config.yml re-enable places query and buildings count query at end of data story Oct 10, 2018
datasets.md style refactorings to imitate new PDOK style Jul 4, 2018
index.md
serve.sh
yasgui.md

README.md

data.labs.pdok.nl

local testing

  • Clone this Git repositoy:

    • On Linux: git clone https://github.com/PDOK/data.labs.pdok.nl

    • On Windows: use Git Bash

  • Install ruby:

    • On Fedora: sudo dnf install ruby ruby-devel rubygem-json

    • On Ubuntu: sudo apt-get install zlib1g-dev libffi-dev ruby-full ruby-dev

    • On Windows: download and install the default option from https://rubyinstaller.org/downloads

  • Run gem install bundler.

  • From the project root directory, run bundler install

  • Now, you can run ./serve.sh from should be able to run jekyll serve. If you encounter any trouble on dependencies, you can try alternatively bundler exec jekyll serve.

  • the site is now available on http://localhost:5000. If you have other services running on this port, you can edit _config.yml to have Jekyll run on a different port.

Troubleshooting

If you run into a SSL certificate not found error:

  • Add a new system environment variable named SSL_CERT_FILE and set its value to the full file path to the cacert.pem file:

    • In Bash: export SSL_CERT_FILE=$PWD/cert/cacert.pem
You can’t perform that action at this time.