From f9e961f088748ac1b14485cd7438adbe54cac6b3 Mon Sep 17 00:00:00 2001 From: Fred Weitendorf <37577626+fredxfred@users.noreply.github.com> Date: Sun, 24 Mar 2024 22:10:43 -0700 Subject: [PATCH] Add cargo setup to README I did not have cargo installed on my system when I first tried to build the repo from a fresh git clone (I had not noticed it was a rust project), and it wasn't called out as a dependency for installation from source. I've added it as a noted dependency with some quick, collapsible installation instructions I followed to get it installed. --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b38cfed..7855e80 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,25 @@ sudo install -b dist/run-in-container.sh /usr/local/bin/monolith #### From [source](https://github.com/Y2Z/monolith) -Dependency: `libssl` +Dependencies: `libssl` `cargo` + +
+ Install cargo (GNU/Linux) + Check if cargo is installed + + ```console + cargo -v + ``` + + If cargo is not already installed, install and add it to your existing ```$PATH``` (paraphrasing the [official installation instructions](https://doc.rust-lang.org/cargo/getting-started/installation.html)): + + ```console + curl https://sh.rustup.rs -sSf | sh + . "$HOME/.cargo/env" + ``` + +Proceed with installing from source: +
```console git clone https://github.com/Y2Z/monolith.git