Skip to content

Commit

Permalink
Remove manual installation in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroCabeza committed Feb 8, 2024
1 parent fd49d20 commit 4893789
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions examples/go-daemon/daemonapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
- [Introduction](#introduction)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Script (Recommended)](#script-recommended)
- [Manual](#manual)
- [Script](#script)
- [Usage](#usage)
- [Example](#example)
- [Getting Started](#getting-started)
Expand All @@ -20,7 +19,7 @@ Go with version `1.15.15`.
# Installation
Follow one of the methods below:

## Script (Recommended)
## Script
Run the build script while having the `go` command pointing to the correct Go version.
We recommend using `1.15.15`, as previously stated.
```sh
Expand All @@ -35,26 +34,6 @@ export PATH="$PATH:$HOME/go/bin"
```
> **Tip:** To make this change permanent, add the command above to your `.bashrc` file.
## Manual
```sh
# clone and install dependencies
git clone https://github.com/status-im/nim-libp2p
cd nim-libp2p
nimble install

# perform unit tests
nimble test

# update the git submodule to install the go daemon
git submodule update --init --recursive
go version
git clone https://github.com/libp2p/go-libp2p-daemon
cd go-libp2p-daemon
git checkout v0.0.1
go install ./...
cd ..
```

# Usage

## Example
Expand Down

0 comments on commit 4893789

Please sign in to comment.