From 5dd7e5b7bc31db9a68c660535264e9bbde9a19da Mon Sep 17 00:00:00 2001 From: yeongha Date: Sat, 3 Aug 2024 23:40:39 +0900 Subject: [PATCH] README, CONTRIBUTING md file command update --- CONTRIBUTING.md | 2 +- build/docker/README.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 78cdf8268..ef6f2dc9f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,7 +48,7 @@ make build # executable: ./bin/yorkie You can set testing environment via Docker Compose. It is needed because integration tests require local applications like MongoDB. ```sh -docker-compose -f build/docker/docker-compose.yml up --build -d +docker compose -f build/docker/docker-compose.yml up --build -d make test ``` diff --git a/build/docker/README.md b/build/docker/README.md index 58e2afb05..ef18072f2 100644 --- a/build/docker/README.md +++ b/build/docker/README.md @@ -5,14 +5,14 @@ running multi-container Docker applications. We use Docker Compose to run the applications needed during Yorkie development. When developing Yorkie, we can easily run the required dependant applications -through `docker-compose` command. +through `docker compose` command. ```bash -# Run docker-compose up and Compose starts and runs apps. -docker-compose -f docker/docker-compose.yml up --build -d +# Run docker compose up and Compose starts and runs apps. +docker compose -f docker/docker-compose.yml up --build -d # Shut down the apps -docker-compose -f docker/docker-compose.yml down +docker compose -f docker/docker-compose.yml down ``` The docker-compose files we use are as follows: