Contribute your code to ComfortableMexicanSofa in 5 easy steps:
Fork the project. Optionally, create a branch you want to work on.
- Install gem dependencies with
bundle install
- There's nothing to configure, by default database is SQLite so it will be
created for you. Just run
bundle exec rake db:migrate
- Make sure that existing tests are passing by running
bundle exec rake test
- There are system tests that can be run with
bundle exec rake test:system
. You need to havechromedriver
installed for that. - You should be able to start the app via
bin/rails s
and navigate to http://localhost:3000/admin
- Create a few small pull requests instead of a humoungous one. I can merge small stuff faster.
- When adding new code just make sure it follows the same slyle as the existing code.
- Avoid adding 3rd party dependencies if you can.
- Tests please, but nothing complicated. UnitTest / Fixtures all the way. Make sure all tests pass.
- Run
bundle exec rubocop
and fix any issues raised.
- If you never done it before read this: https://help.github.com/articles/using-pull-requests
- When PR is submitted check if TravisCI ran all tests successfully and Rubocop didn't raise any issues
If everything is good your changes will be merged into master branch. Eventually a new version of gem will be published.