mirror of
https://github.com/waku-org/docs.waku.org.git
synced 2025-02-23 02:08:07 +00:00
chore(docs): add rustup to the installation prerequisites (#115)
This commit is contained in:
parent
405fe82abc
commit
9741d01dab
@ -58,6 +58,8 @@
|
|||||||
"keyturn",
|
"keyturn",
|
||||||
"websocat",
|
"websocat",
|
||||||
"nwakunode",
|
"nwakunode",
|
||||||
|
"tlsv",
|
||||||
|
"rustup",
|
||||||
],
|
],
|
||||||
"flagWords": [],
|
"flagWords": [],
|
||||||
"ignorePaths": [
|
"ignorePaths": [
|
||||||
|
@ -11,7 +11,7 @@ This guide provides detailed steps to build a `nwaku` node from the source code
|
|||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
To build `nwaku`, you need the standard developer tools, including a C compiler, GNU Make, Bash, Git, and PostgreSQL client library.
|
To build `nwaku`, you need the standard developer tools, including a C compiler, GNU Make, Bash, Git, Rustup and PostgreSQL client library.
|
||||||
|
|
||||||
```mdx-code-block
|
```mdx-code-block
|
||||||
import Tabs from '@theme/Tabs';
|
import Tabs from '@theme/Tabs';
|
||||||
@ -23,6 +23,7 @@ import TabItem from '@theme/TabItem';
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install build-essential git libpq5
|
sudo apt-get install build-essential git libpq5
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
@ -30,6 +31,7 @@ sudo apt-get install build-essential git libpq5
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo dnf install @development-tools git libpq-devel
|
sudo dnf install @development-tools git libpq-devel
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
@ -38,13 +40,14 @@ sudo dnf install @development-tools git libpq-devel
|
|||||||
```bash
|
```bash
|
||||||
# Using your favoured AUR helper
|
# Using your favoured AUR helper
|
||||||
sudo [AUR HELPER] -S base-devel git postgresql-libs
|
sudo [AUR HELPER] -S base-devel git postgresql-libs
|
||||||
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
<TabItem value="mac" label="MacOS (Homebrew)">
|
<TabItem value="mac" label="MacOS (Homebrew)">
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew install cmake git postgresql@15
|
brew install cmake git postgresql@15 rustup-init
|
||||||
# Create a symbolic link to libpq.5.dylib in /usr/local/lib/
|
# Create a symbolic link to libpq.5.dylib in /usr/local/lib/
|
||||||
sudo mkdir -p /usr/local/lib/
|
sudo mkdir -p /usr/local/lib/
|
||||||
sudo ln -s /opt/homebrew/opt/postgresql@15/lib/libpq.5.dylib /usr/local/lib/libpq.dylib
|
sudo ln -s /opt/homebrew/opt/postgresql@15/lib/libpq.5.dylib /usr/local/lib/libpq.dylib
|
||||||
@ -105,4 +108,4 @@ Run the tests for Waku:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
make test
|
make test
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user