diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2081b27772..0f196de46e 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -129,6 +129,18 @@ That enables CSS and JS watchers for rebuilding bundles automatically upon chang _Don't forget to restart Rails after you have modified `config/app_config.yml`._ +# Backend + +Backend is a Rails 3 application, there's no specific workflow you must follow to run it. + +Every PR should be covered by tests. If you create a new file please add it to `Makefile`. Useful commands: +- `make check`: prepare the test database and run the full suite (takes a while). +- `make prepare-test-db`: prepare the test database. +- `bundle exec rspec `: run a spec. +- `bundle exec rspec :`: run an specific test. + +Once a new Pull Request is started, +[Hound](https://houndci.com/) application will check code style and you should fix them as much as possible (with common sense, no need to honor _every_ rule but now most of them are actually useful to make code more readable). ## Submitting contributions