Skip to content

Commit

Permalink
docs: update Bacalhau install instructions (#300)
Browse files Browse the repository at this point in the history
Update LOCAL_DEVELOPMENT.md

Adds updated information to install Bacalhau on mac os

Co-authored-by: Alvin Reyes <me@areyes.onl>
  • Loading branch information
kelindi and alvin-reyes authored Aug 26, 2024
1 parent 9c2bdba commit 993bc25
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions LOCAL_DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -49,14 +48,22 @@ 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
# extract the downloaded archive and move the `bacalhau` binary to `/usr/local/bin`
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`.

Expand Down

0 comments on commit 993bc25

Please sign in to comment.