JavaScript CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
_data
_includes
_layouts
_sass
assets
src
.gitignore
.travis.yml
LICENSE
README.md
_config.yml
id_rsa.enc
index.html
package.json
yarn.lock

README.md

Ik Haat Gent (ikhaat.gent)

Avoid things you don't like in Ghent

Build Status

Een site dingen te vermijden die je haat in Gent.

Info

Gemaakt tijdens (M)Apps for Ghent 2016 door Haroen Viaene, Elias Meire, Simon Wydooghe, Leenke De Donder en Aaike Geussens.

Updating data

  • everything

This is also done by Travis

npm install
npm run update

This will fetch some of the data manually, and GIPOD is parsed into GeoJSON.

If you want to update even more data locally, try:

curl -s -o src/data/speelterreinen.geojson https://datatank.stad.gent/4/cultuursportvrijetijd/speelterreinen.geojson
curl -s -o src/data/clubhuizenvoorsenioren.geojson https://datatank.stad.gent/4/doelgroepen/clubhuizenvoorsenioren.geojson
curl -s -o src/data/hondenvoorzieningen.geojson https://datatank.stad.gent/4/infrastructuur/hondenvoorzieningen.geojson

It doesn't matter if data in dev is out of date, it should be up to date in gh-pages via Travis (updated daily)

Running locally

This is a Jekyll site, so installing Ruby and then doing (sudo)gem install jekyll. Then you can run the site with jekyll serve.

Note: requesting location (for the haat button) requires the site to be run via https locally as well. You do this by running jekyll s --ssl-cert assets/ca.crt --ssl-key assets/ca.key. or npm run serve as a shortcut.

Uses

  • Jekyll
  • Open Street Maps
    • Overpass Turbo
    • Leaflet
    • Mapbox
  • Open Data by Ghent
  • GIPOD (and Haroen's wrapper)
  • Firebase