From 047970e5eef1f054441b3ca50becdbe137fb41e4 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Wed, 30 Mar 2022 18:02:50 +0800 Subject: [PATCH 1/2] Enable code block syntax hightlight in README.md It'll make it just a little bit easier to read it --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 00664365..7044eece 100644 --- a/README.md +++ b/README.md @@ -67,7 +67,7 @@ It operates as a DNS server that re-routes tracking domains to a "black hole", t ### Automated install (Linux and Mac) Run the following command in your terminal: -``` +```sh curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v ``` @@ -212,11 +212,11 @@ Check the [`Makefile`](https://github.com/AdguardTeam/AdGuardHome/blob/master/Ma In order to do this, specify `GOOS` and `GOARCH` env variables before running make. For example: -``` +```sh env GOOS='linux' GOARCH='arm64' make ``` Or: -``` +```sh make GOOS='linux' GOARCH='arm64' ``` @@ -228,7 +228,7 @@ You'll need this to prepare a release build: Commands: -``` +```sh make build-release CHANNEL='...' VERSION='...' ``` @@ -271,12 +271,12 @@ There are three options how you can install an unstable version: 3. Standalone builds. Use the automated installation script or look for the available builds below. Beta: -``` +```sh curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c beta ``` Edge: -``` +```sh curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c edge ``` From ea5d165a703dd37ef40254f3f775e049b6cebf93 Mon Sep 17 00:00:00 2001 From: Ainar Garipov Date: Wed, 17 Aug 2022 21:43:31 +0300 Subject: [PATCH 2/2] all: imp readme --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fd876506..32478a62 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,9 @@ and both share a lot of code. ## Getting Started ### Automated install (Linux and Mac) + Run the following command in your terminal: + ```sh curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v ``` @@ -204,7 +206,7 @@ You will need this to build AdGuard Home: Open Terminal and execute these commands: -```bash +```sh git clone https://github.com/AdguardTeam/AdGuardHome cd AdGuardHome make @@ -222,10 +224,13 @@ Check the [`Makefile`](https://github.com/AdguardTeam/AdGuardHome/blob/master/Ma In order to do this, specify `GOOS` and `GOARCH` env variables before running make. For example: + ```sh env GOOS='linux' GOARCH='arm64' make ``` -Or: + +or: + ```sh make GOOS='linux' GOARCH='arm64' ``` @@ -281,11 +286,13 @@ There are three options how you can install an unstable version: 3. Standalone builds. Use the automated installation script or look for the available builds below. Beta: + ```sh curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c beta ``` Edge: + ```sh curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -c edge ```