- Ruby version: 3.4.1
- Rails 7.2
Create an .envrc
file in the project's root directory and add environment variables.
Use the .envrc.sample
file as a template for what variables to include.
Get the values from Vault
Run direnv allow
to export the values
(If you do not have direnv, use brew to install)
To build the image and run necessary containers:
docker-compose up --build
- Check it out at
localhost:3000
in your browser
To run test within the container
docker-compose exec web bash
RAILS_ENV=test bundle exec rspec