Skip to content
Lucas Braun edited this page Aug 29, 2020 · 7 revisions

Welcome! This is a guide to help new developers set up their local development environment.

Getting set up

Installing ruby

Make sure you have Ruby version 2.2.2 installed. We recommend using rbenv or rvm to manage your ruby versions.

Installing postgresql

Install postgresql. If you have hombrew installed, you should be able to run brew install postgresql. When you have installed it this way you can manually start and stop the postgresql server using the following commands:

brew services start postgresql
brew services stop postgresql

Installing gem dependencies

Install bundler by running gem install bundler from the project directory.

Install all required gems by running bundle install.

Creating and migrating the database

bundle exec rake db:{create,migrate}

Running tests

rspec spec

Running a local instance

rails s