From cc009ba33f38ac800c8d63cb390e4502dd3bd4ee Mon Sep 17 00:00:00 2001 From: filipefurtad0 <49817236+filipefurtad0@users.noreply.github.com> Date: Fri, 19 Feb 2021 13:02:03 +0000 Subject: [PATCH] Update CONTRIBUTING.md Added lines on bundle and yarn install. For context see this thread: https://openfoodnetwork.slack.com/archives/C2GQ45KNU/p1613393033083800 --- CONTRIBUTING.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0e938c3ff4..4732e4d112 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -15,6 +15,14 @@ Create a new branch on your local machine to make your changes against (based on git checkout -b branch-name-here --no-track upstream/master +You might need to update or install missing gems: + + bundle install + +Also, there might be missing dependencies, after pulling a particular branch. To update dependencies, run: + + yarn install + If you want to run the whole test suite, we recommend using a free CI service to run your tests in parallel. Running the whole suite locally in series is likely to take > 40 minutes. [TravisCI][travis] and [SemaphoreCI][semaphore] both work great in our experience. Either way, make sure the tests pass on your new branch: bundle exec rspec spec