README Integration

- 1.
- 2.Install
opencollective-setup
$ npm install -g opencollective-setup - 3.
- 4.Create a file in your home directory (on Mac OS X or Linux) called
.opencollective.json
and add token in it:{ "github_token": "[YOUR_TOKEN]" } - 5.Run cli for a given repo:$ opencollective-setup setup -r [repo_owner/repo_name] -iopencollective-setup -r mochajs/mocha -i
-i
makes it interactive. - 6.Answer questions asked by the script - usually defaults are good to go with. Verify that the slug of the project is the same as the one in the database (script guesses at it and is usually right).
- 7.Script attempts to do several integrations across README.md, CONTRIBUTORS.md and ISSUE_TEMPLATE.md. The most important ones are the two integrations on README.md: backers and sponsor badges at the top and adding backer/sponsor section near the bottom.
Last modified 2yr ago