First of all, Pull Requests, suggestions or comments about RiotGear are all welcome and valued. To start contributing follow these steps:
git clone https://github.com/riotgear/rg/
cd rg
yarn install
yarn demo
A local copy of the riotgear demo should now be running on http://localhost:1234 (port may vary if port is already in use)
-
You can modify existing tags or add a new tag in the
tags/rg-TAGNAME/rg-TAGNAME.tag
folder (where TAGNAME can be whatever you want). Then editall.js
toimport './tags/rg-TAGNAME/rg-TAGNAME
. -
OPTIONAL - Modify
demo/demo.tag
to include a demo of your tag. This isn't required, but will help you develop and help whoever us understand your contribution. -
OPTIONAL - Add a test file like
tags/rg-TAGNAME/rg-TAGNAME.spec.js
. You can look at the other tests for ideas for what to write. If you can't get the test runner working (we use puppeteer, which may not work on every machine), feel free to contact us. Tests are run withyarn test
and an individual test can be run by modifying the spec file withdescribe.only
orit.only
.
Submit your Pull Request to our DEV branch so that we can review the code before merging into master.
At some point your changes will get merged in and we'll publish a new version of RiotGear! Yay!
We're all friends! This project adheres to the Contriubtor Covenant. By participating, you are expected to honor this code.