diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..0d1efe63b --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,69 @@ +# Contribute + +All contributions are welcome: bug fixes, data contributions, recommendations. + +Please see the [issues on GitHub](https://github.com/PokeAPI/pokeapi/issues) before you submit a pull request or raise an issue, someone else might have beat you to it. + +To contribute to this repository: + +- [Fork the project to your own GitHub profile](https://help.github.com/articles/fork-a-repo/) + +- Download the project using git clone: +``` +git clone git@github.com:/pokeapi.git +``` +- Create a new branch with a descriptive name: +``` +git checkout -b my_new_branch +``` +- Write some code, fix something, and add a test to prove that it works. **No pull request will be accepted without tests passing, or without new tests if new features are added.** + +- Commit your code and push it to GitHub + +- [Open a new pull request](https://help.github.com/articles/creating-a-pull-request/) and describe the changes you have made. + +- We'll accept your changes after review. + +Simple! + +## Financial contributions + +We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/pokeapi). +Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed. + +## Questions + +If you have any questions, create an [issue](issue) (protip: do a quick search first to see if someone else didn't ask the same question before!). +You can also reach us at hello@pokeapi.opencollective.com. + +## Credits + +### Contributors + +Thank you to all the people who have already contributed to pokeapi! + + + +### Backers + +Thank you to all our backers! [[Become a backer](https://opencollective.com/pokeapi#backer)] + + + + +### Sponsors + +Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/pokeapi#sponsor)) + + + + + + + + + + + + + diff --git a/README.md b/README.md index 3fe3097d8..433ea2bbf 100755 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ LICENSE: [BSD](https://github.com/PokeAPI/pokeapi/blob/master/LICENSE.rst) http://pokeapi.co -[![ghit.me](https://ghit.me/badge.svg?repo=PokeAPI/pokeapi)](https://ghit.me/repo/PokeAPI/pokeapi) +[![Backers on Open Collective](https://opencollective.com/pokeapi/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/pokeapi/sponsors/badge.svg)](#sponsors) [![ghit.me](https://ghit.me/badge.svg?repo=PokeAPI/pokeapi)](https://ghit.me/repo/PokeAPI/pokeapi) ## Fair use policy @@ -24,7 +24,28 @@ Once you've signed up visit [PokeAPI on Slack](https://pokeapi.slack.com) Help to keep PokéAPI running! If you're using PokéAPI as a teaching resource or for a project, consider sending us a $10 donation to help keep the server up. We get over 2 million requests a month and it's quite costly! -See [the bottom of the home page](https://pokeapi.co) to donate. +Thank you to all our backers! [[Become a backer](https://opencollective.com/pokeapi#backer)] + + + + +## Sponsors + +Ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/pokeapi#sponsor). + + + + + + + + + + + + + + ## DEPRECATION @@ -180,6 +201,9 @@ For the moment, this setup doesn't allow you to use the ```scale``` command. ## Contributing +This project exists thanks to all the people who contribute. [[Contribute]](blob/master/CONTRIBUTING.md). + + All contributions are welcome: bug fixes, data contributions, recommendations. Please see the [issues on GitHub](https://github.com/PokeAPI/pokeapi/issues) before you submit a pull request or raise an issue, someone else might have beat you to it. diff --git a/package.json b/package.json index 0e2580809..1318c6519 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,15 @@ "gulp-sass": "^2.1.1", "gulp-uglify": "^1.5.1", "jshint": "^2.8.0", - "jshint-stylish": "^2.1.0" + "jshint-stylish": "^2.1.0", + "opencollective": "^1.0.3" + }, + "collective": { + "type": "opencollective", + "url": "https://opencollective.com/pokeapi", + "logo": "https://opencollective.com/opencollective/logo.txt" + }, + "scripts": { + "postinstall": "opencollective postinstall" } -} +} \ No newline at end of file