From 710465c1a39589ff301f34b10c4df07f408b3ebb Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky Date: Fri, 27 Sep 2024 11:41:26 -0500 Subject: [PATCH] Fixing Building Fleet docs (#22293) - use correct node version - update to use "docker compose", which is now integrated with Docker --- docs/Contributing/Building-Fleet.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/Contributing/Building-Fleet.md b/docs/Contributing/Building-Fleet.md index 2ab34243a4..368b68d23b 100644 --- a/docs/Contributing/Building-Fleet.md +++ b/docs/Contributing/Building-Fleet.md @@ -38,7 +38,7 @@ sudo npm install -g yarn # Install nvm to manage node versions (apt very out of date) https://github.com/nvm-sh/nvm#install--update-script curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash # refresh your session before continuing -nvm install v19.7.0 +nvm install v20.11.1 ``` #### Windows @@ -149,7 +149,7 @@ The following assumes that you already installed [Docker](https://docs.docker.c To set up a canonical development environment via Docker, run the following from the root of the repository: ```sh -docker-compose up +docker compose up ``` > Note: you can customize the DB Docker image via the environment variables FLEET_MYSQL_IMAGE and FLEET_MYSQL_PLATFORM. For example: @@ -161,12 +161,12 @@ docker-compose up If you'd like to shut down the virtual infrastructure created by Docker, run the following from the root of the repository: ```sh -docker-compose down +docker compose down ``` ### Setting up the database tables -Once you `docker-compose up` and are running the databases, you can build the code and run the following command to create the database tables: +Once you `docker compose up` and are running the databases, you can build the code and run the following command to create the database tables: ```sh ./build/fleet prepare db --dev