Ruby version: 2.4.2 (using rbenv) Rails version: 5.1.4
Bundler, foreman, postgres
# if necessary, install postgres:
brew install postgresql
# install bundler, foreman:
gem install bundler
gem install foreman
# verify postgres is started
brew services start postgresql
# migrate the database
rails db:setup
npm install
./bin/server