Skip to content

Ocean-Collective/cred

 
 

Repository files navigation

Ocean Collective Cred Scoring

Tooling to compute Cred scores for the Ocean Collective using the Sourcecred social algorithm.

generate-cred

Requirements

  • Node (10.x.x - 12.x.x)
  • Yarn
  • Serve (npm -i -g serve) (To deploy the Frontend graph locally)

Local Setup Instructions

git clone https://github.com/sourcecred/sourcecred.git
cd sourcecred
yarn install

Configuration

See Spec

Computing Cred

Cred Scores can be updated locally by running the following commands:

export SOURCECRED_GITHUB_TOKEN=YOUR_GITHUB_TOKEN # You can generate a personal API Token here -> https://github.com/settings/tokens
export sc=PATH_TO_YOUR_SOURCECRED_LOCAL_REPO
./update.sh
serve ./docs # Frontend will be available at http://localhost:5000

Generate-Cred Github Action

The Github action is in charge of both re-computing the Community Cred scores and updating the Public UI Graph every week (Sun at 23:59)

License

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%