diff --git a/README.md b/README.md index 0abca227..224735d7 100644 --- a/README.md +++ b/README.md @@ -54,21 +54,24 @@ 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 +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;