From 993bc25d69e379245a026c9438c34b8b2e747b64 Mon Sep 17 00:00:00 2001 From: Kelindi Date: Mon, 26 Aug 2024 18:46:40 -0400 Subject: [PATCH] docs: update Bacalhau install instructions (#300) Update LOCAL_DEVELOPMENT.md Adds updated information to install Bacalhau on mac os Co-authored-by: Alvin Reyes --- LOCAL_DEVELOPMENT.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/LOCAL_DEVELOPMENT.md b/LOCAL_DEVELOPMENT.md index 83ed8b83..33e84a66 100644 --- a/LOCAL_DEVELOPMENT.md +++ b/LOCAL_DEVELOPMENT.md @@ -39,7 +39,6 @@ These are the commands to run the node and boot the network: `./stack chain-clea A helper script is in place to verify balances on the accounts: `cd hardhat && npx hardhat run scripts/balances.ts --network dev` ### 2. Solver service - This process can be executed directly if Golang has been installed or in a docker container. The commands are `./stack solver`,`./stack solver-docker-build` and `./stack solver-docker-run` respectively. The `solver` service will output a log line that reads that "the solver has been registered successfully" or "the solver already exists". It is best to wait for this output before starting the services that will try to connect to the `solver`. ### 3. Job creator @@ -49,7 +48,7 @@ This process can be executed directly if Golang has been installed or in a docke ### 4. Bacalhau node For the time being this process has to be executed directly. This means following the instructions to download their cli tool and expose it as a bin that can be used. Here's how to install the `bacalhau` tool: - +#### Linux ```sh # install the latest wget https://github.com/bacalhau-project/bacalhau/releases/download/v1.3.2/bacalhau_v1.3.2_linux_amd64.tar.gz @@ -57,6 +56,14 @@ wget https://github.com/bacalhau-project/bacalhau/releases/download/v1.3.2/bacal tar xfv bacalhau_v1.3.2_linux_amd64.tar.gz mv bacalhau /usr/local/bin ``` +#### Mac OS +```sh +# install the latest +wget https://github.com/bacalhau-project/bacalhau/releases/download/v1.3.2/bacalhau_v1.3.2_darwin_amd64.tar.gz +# extract the downloaded archive and move the `bacalhau` binary to `/usr/local/bin` +tar xfv bacalhau_v1.3.2_darwin_amd64.tar.gz +mv bacalhau /usr/local/bin +``` Once the tool has been installed, the following command can be used to start the node: `./stack bacalhau-node`.