- Ruby 3.3.7
- Rails 6.1.7 (with webpacker 5)
- PostgreSQL
- Node JS 16
- Yarn 1.22
- Set up local environment (Ruby, etc.)
- Download or clone a repository
- Run bundler and yarn to install required gems and dependencies
$ bundle install
$ yarnIf necessary, you can run PostgreSQL and Redis locally using Docker
Make sure you are using Docker Compose V2
% docker compose version
Docker Compose version v2.3.3
docker-compose.yml configured to run PostgreSQL
$ docker compose up -d- Create and set up a database for the project
$ rails db:prepare- Start project with foreman gem (project include webpacker)
$ bin/dev