- Ruby 3.2.2
- Rails 7.0.7
- PostgreSQL 14.6
- Redis
- 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
$ yarn- Create
.envfile by example.env.example
$ cp .env.example .envIf 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 and Redis
$ docker compose up -d- Create and set up a database for the project
$ rails db:prepare- Start project
$ bin/dev