mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
1.0 KiB
1.0 KiB
Contributing
We love pull requests from everyone. Here are some instructions for contributing code to Open Food Network. See the developer wiki for more information.
Fork, then clone the repo:
git clone git@github.com:your-username/openfoodnetwork.git
Follow the instructions in README.markdown to set up your machine.
Make sure the tests pass:
rspec spec
Make your change. Add tests for your change. Make the tests pass:
rspec spec
Push to your fork and submit a pull request.
At this point you're waiting on us. We may suggest some changes or improvements or alternatives.
To increase the chance that your pull request is swiftly accepted:
- Write tests
- Use a style consistent with the rest of the codebase
- Before submitting, rebase your work on the current master branch