mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
937 B
937 B
Contributing
We love pull requests from everyone. Here are some instructions for contributing code to Open Food Network.
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