diff --git a/README-NO-LOOPBACK-RESTRICTION.md b/README-NO-LOOPBACK-RESTRICTION.md index 4b572e9f..7afb4194 100644 --- a/README-NO-LOOPBACK-RESTRICTION.md +++ b/README-NO-LOOPBACK-RESTRICTION.md @@ -13,14 +13,18 @@ To compile: `sudo apt install -y build-essential pkg-config libgtk-3-dev libwebkit2gtk-4.1-dev libssl-dev libudev-dev` 2) Install rust -`curl --proto '=https' --tlsv1.2 --http2 -sSf https://sh.rustup.rs | sh` -`. "$HOME/.cargo/env"` -`rustc --version` +
```bash
+curl --proto '=https' --tlsv1.2 --http2 -sSf https://sh.rustup.rs | sh
+. "$HOME/.cargo/env"
+rustc --version
+```
3) Clone the repo
-`git clone https://git.mitev.net/nik/liana`
-`git checkout remotenode`
-`cargo build --release`
+```bash
+git clone https://git.mitev.net/nik/liana
+git checkout remotenode
+cargo build --release
+```
I used these steps to build on a debian vm, then run the binaries on Linux Mint. You may need to modify the dependencies for other distributions.
@@ -29,7 +33,9 @@ If you would like to verify the changes made against the original code by wisard
`git remote add wisardsardine https://github.com/wizardsardine/liana.git`
- checkout the master branch
-`git checkout master`
-`git pull wisardsardine master`
-`git diff master remotenode`
+```bash
+git checkout master
+git pull wisardsardine master
+git diff master remotenode
+```