A simple template for rails.
Install Postgres https://www.postgresql.org/download/macosx/ Mac users can use homebrew.
Install YARN https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable
bundle install
rails s
In another tab you can run webpacker to watch for changes to assets
bin/webpack-dev-server
If webpacker wont work due to "ERR_OSSL_EVP_UNSUPPORTED" try setting
export NODE_OPTIONS=--openssl-legacy-provider