Skip to content

A script to fetch and upload cred data every 6 hours

License

Notifications You must be signed in to change notification settings

CommonsBuild/pollen-cred-fetcher

 
 

Repository files navigation

pollen-cred-fetcher

A script to fetch and upload cred data every 6 hours

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:

  • REPO_AND_BRANCH = The repo and branch of your sourcecred instance. In this case it's https://raw.githubusercontent.com/1Hive/pollen/gh-pages/
  • MONGODB_URI = Your MongoDB connection URI.

Run the script!

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

About

A script to fetch and upload cred data every 6 hours

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%