aracred / TheSource

Run SourceCred on stuff
https://aracred.github.io/TheSource/timeline/@aracred/
0 stars 0 forks source link

GUIDE: Setting up a Discord server with SourceCred and GitHub actions #3

Open yeqbfgxjiq opened 4 years ago

yeqbfgxjiq commented 4 years ago

This guide is outdated. Please refer to the AraCred Deployment Guide instead.

https://aracred.github.io/website/docs/deploymentOverview/

SourceCred Discord How-to

The easiest way to set up SourceCred on Discord is to fork MetaFam's TheSource repo, delete the scores.json file + the docs/api folder, and then update project.json and weights.json with the config you want.

Then you'll need to create a discord bot and give it the permission to read messages. (takes 5min)

Add the bot's token to the GitHub secrets for your forked TheSource repo. Note! The token must be called: SOURCECRED_DISCORD_TOKEN.

Make sure that GitHub action is enabled to run:

If you want to get Discord ID's for the SourceCred Identity plugin, you'll need to enable Discord's developer mode. The you can right click on servers or users to get their Discord IDs and paste them into project.json.

Speaking of project.json, if you don't want to run it on Discord, Discourse, or GitHub just remove those sections.

If you want to view the pretty Cred graph for your Discord server you'll need to enable GitHub pages and set it to the master/docs folder.

Note!

You'll still need to configure project.json to point to your Discord server, Discourse forum, user names, GitHub repos, etc...


For examples of what this looks like check out the following repos

yeqbfgxjiq commented 4 years ago

This guide is outdated. Please refer to the AraCred Deployment Guide instead.

https://aracred.github.io/website/docs/deploymentOverview/