This repository contains all the code needed to build and update the webapp running at pioneerjournalism.org via Github Pages.
- Node
- Webpack
npm install # install deps
npm run start:development
Deploy to Github Pages with npm run deploy
. Alternatively, build and drag the resulting production files manually to the Github Pages branch main
.
To update the mapping table, simply replace src/csv/mapping.csv
with a fresh export from our Google spreadsheet and re-run build/wait for hot reloading if the development server is running.
The various maps showing geolocations of our actors are generated with https://datawrapper.io and integrated via iframes. We use the automated geolocation lookup provided by Datawrapper on our "Ort" data column. To update these, please create your own maps with Datawrapper and edit the MappingTable()
function in index.jsx
accordingly with your new iframe URLs.
- Replace multiple cumbersome Datawrapper maps with a single map
- Add Unit tests via Jest
(c) Leibniz HBI, Hamburg 2022