Skip to content

Get a spreadsheet with all grain rewards and accounts from SourceCred using the pollen bot database

License

Notifications You must be signed in to change notification settings

CommonsBuild/grain-reward-builder

 
 

Repository files navigation

pollen-onboarding

A script to add, merge and activate new users in the Pollen instance.

Developer setup

Install dependencies

npm install, npm install -D

Add env variables

Copy the content of your .env.sample file into a new .env file and add the corresponding variables:

  • MONGODB_URI = Your MongoDB connection URI.
  • GH_API_TOKEN = GitHub token with commit permissions to the repo.
  • REPO = The repo you want to commit to.
  • BRANCH = The branch you want to commit to.
  • REPO_AND_BRANCH = The repo and branch of your sourcecred instance. In this case it's https://raw.githubusercontent.com/1Hive/pollen/gh-pages/

Run the script!

  • npm start will execute the script in production mode.
  • npm run dev will execute the script in developer mode, with hot reloading.

About

Get a spreadsheet with all grain rewards and accounts from SourceCred using the pollen bot database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%