From 9741d01dab7a9a8253d74eaa53e649a61a637e28 Mon Sep 17 00:00:00 2001 From: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> Date: Wed, 13 Sep 2023 23:03:00 +0530 Subject: [PATCH] chore(docs): add rustup to the installation prerequisites (#115) --- .cspell.json | 2 ++ docs/guides/nwaku/build-source.md | 9 ++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.cspell.json b/.cspell.json index 9b0525b..3fdfffc 100644 --- a/.cspell.json +++ b/.cspell.json @@ -58,6 +58,8 @@ "keyturn", "websocat", "nwakunode", + "tlsv", + "rustup", ], "flagWords": [], "ignorePaths": [ diff --git a/docs/guides/nwaku/build-source.md b/docs/guides/nwaku/build-source.md index e2cf031..ef5a81f 100644 --- a/docs/guides/nwaku/build-source.md +++ b/docs/guides/nwaku/build-source.md @@ -11,7 +11,7 @@ This guide provides detailed steps to build a `nwaku` node from the source code ## 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 import Tabs from '@theme/Tabs'; @@ -23,6 +23,7 @@ import TabItem from '@theme/TabItem'; ```bash sudo apt-get install build-essential git libpq5 +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` @@ -30,6 +31,7 @@ sudo apt-get install build-essential git libpq5 ```bash sudo dnf install @development-tools git libpq-devel +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` @@ -38,13 +40,14 @@ sudo dnf install @development-tools git libpq-devel ```bash # Using your favoured AUR helper sudo [AUR HELPER] -S base-devel git postgresql-libs +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` ```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/ sudo mkdir -p /usr/local/lib/ 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 make test -``` \ No newline at end of file +```