- Install rubyfmt for your editor.
- Postgres 14 or higher.
- asdf or other version manager for Ruby.
- Install the ruby version specified in
.tools-versions
. - Install direnv.
- Hook direnv to your shell.
- If you are using Visual Studio Code, uninstall Solargraph and other Ruby extensions and install the Ruby extension pack from Shopify. If you have enabled format on save with the extension installed,
stree write file/path.rb
will run automatically. However, if you are using another editor do not forget to run this command before commiting.
- Copy
env.example
to.env
:cp env.example .env
- Allow your
.env
using direnv:direnv allow .
- Run the app using:
bin/dev
It's better to run all scripts manually if you want to debug the application. Check Procfile.dev
to know which commands to run!