makerdao / commdev-grants-transparency-dashboard

commdev-grants-transparency-dashboard-six.vercel.app
GNU Affero General Public License v3.0
2 stars 5 forks source link

MakerDAO Core Community Initiative Transparency Dashboard

The dashboard displays how the funds in the CCDI are being distributed.

Developed from the Gatbsy-hello world starter kit

Develop

Install dependencies:

npm i

Fire up site:

\$ gatbsy develop

And navigate to http://localhost:8000/ to visit your site

Deploy

Type npm run deploy into your terminal.

This command will initiate Gatsby's build command and deploy the static assets to the gh-pages branch, where it will be rendered by GitHub at the project URL.

Feeding data into the site

Public Data (name, type, status,...) for accepted projects is entered into /static/data/acceptedProjectsData.json.

The format for that file is specified in a JSON-SCHEMA in /static/data/dataformat.js and compliance is checked in the integration pipeline and can be tested manually by running:

npm run test

General information about awarded money (average dispersed, total awarded, ...), completed milestones (total and last30days) and the total number of submitted projects is entered into /static/data/publicData.json