From 8182508eadf1b46aad8956673429a3783ba7df10 Mon Sep 17 00:00:00 2001 From: mritd Date: Mon, 11 Jul 2022 16:40:24 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0abca227..7f8ace26 100644 --- a/README.md +++ b/README.md @@ -54,19 +54,19 @@ docker-compose up -d Developers can compile this project by themselves, and the dependencies required for compilation: -- Golang 1.16+ +- Golang 1.18+ - Go Mod Enabled(env `GO111MODULE=on`) - Go Mod Proxy Enabled(env `GOPROXY=https://goproxy.cn`) -- `make` Installed +- [go-task](https://taskfile.dev/installation/) Installed Run the following command to compile this project: ```sh # Cross compile all platforms -make +task -# Or install into the local GOPATH -make install +# Compile the specified platform (please refer to Taskfile.yaml) +task linux_amd64 ``` ### Nginx Proxy From 6603f124c0688e2a1b3b8d2fcc5ba001cb7c2430 Mon Sep 17 00:00:00 2001 From: mritd Date: Mon, 11 Jul 2022 16:44:16 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7f8ace26..224735d7 100644 --- a/README.md +++ b/README.md @@ -67,8 +67,11 @@ task # Compile the specified platform (please refer to Taskfile.yaml) task linux_amd64 +task linux_amd64_v3 ``` +**Note: The linux amd64 v3 architecture was added in go 1.18, see [https://github.com/golang/go/wiki/MinimumRequirements#amd64](https://github.com/golang/go/wiki/MinimumRequirements#amd64)** + ### Nginx Proxy Most users want to deploy the bark server on the intranet server, and then use Nginx to reverse proxy the bark server;