From e2ec5b4117cff623e06830646e80f1b2a90cd4cc Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Mon, 29 Apr 2024 12:52:32 +0200 Subject: [PATCH] Update guides for new install script --- _guides/seeder.md | 12 +++--------- _guides/user.md | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/_guides/seeder.md b/_guides/seeder.md index 8e8ccb6..4b78cfe 100644 --- a/_guides/seeder.md +++ b/_guides/seeder.md @@ -17,7 +17,6 @@ community seed nodes with more *selective* policies. Introduction ------------ - The term *seed node* originally comes from [BitTorrent][bittorrent]. In the BitTorrent protocol, nodes that possess the data for a given torrent file and begin uploading it to peers are called *seeders*. @@ -97,15 +96,10 @@ and network daemon (`radicle-node`). To install these, run the following command from within your server's shell: - curl -sSf https://radicle.xyz/install | sh -s -- --no-modify-path + curl -sSf https://radicle.xyz/install | sh -s -- --no-modify-path --prefix=/usr/local -This will install binaries in `~/.radicle/bin` by default, or in `RAD_PATH` -if you have that set. - -Once the binaries are installed, move them to a location accessible by the -`seed` user, for example `/usr/local/bin`. - - sudo mv ~/.radicle/bin/* /usr/local/bin +This will install binaries in `/usr/local/bin`. If you prefer to install Radicle +in a different location, simply set the `--prefix` option accordingly. Finally, login as the `seed` user and proceed with installation: diff --git a/_guides/user.md b/_guides/user.md index 3da2e5d..cb2eb69 100644 --- a/_guides/user.md +++ b/_guides/user.md @@ -127,8 +127,8 @@ This command runs an installer script that automates the setup process, by: > 👾 > > If you want the above to be installed in a different location than -> `~/.radicle`, you can set the `RAD_PATH` environment variable before running -> the installation script. +> `~/.radicle`, you can pass `--prefix` to the installation script, eg. +> `--prefix=/usr/local`. > > Note that if you don't want to use the installer script, you can also always > compile from the [source code][heartwood] or get the [binaries][] if you