This repository contains the source code for the OpenTR's State of Open Source Contribution in Turkey report.
This report uses data collected in OpenTRFoundation/state-of-oss-contribution repository. To see how the data collected and processed, visit OpenTRFoundation/state-of-oss-contribution repository.
The data is visualized using D3.js.
To build the project:
npm run build
or, to serve locally:
npm run serve
latestbranch is deployed to https://state.opentr.foundation/mainbranch is deployed to https://main--state-of-oss-contribution-report.netlify.app/- All the other branches are deployed to
https://<branch>--state-of-oss-contribution-report.netlify.app/. Create a branch and push it on the origin to get Netlify to build and deploy it. This is the way to show the previous versions of the report.
history.html is only referenced from the latest branch in all versions of the report. (https://state.opentr.foundation/history.html)
In main branch:
- Update the date in
index.html, for Turkish and English text - Update
REPORT_DATA_REFinindex.tswith the new tag name of the data repository - Push changes to
upstream/mainbranch
In the new branch:
- Create a new branch from
mainbranch, named<year>-<month>, e.g.2024-01and push it to the origin
In main branch:
- Update
history.html(add a new entry)
Reset upstream/latest branch to upstream/main
- src/province-geojson.json is taken from https://raw.githubusercontent.com/alpers/Turkey-Maps-GeoJSON/master/tr-cities.json
- src/province-coordinates.json is built from https://gist.github.com/ismailbaskin/2492196
- Data in province-populations.json is taken from Wikipedia.
TODO:
- Show active vs inactive users