chore: update docs

This commit is contained in:
Jacky 2025-02-05 18:45:07 +08:00
parent cb4977e5ab
commit 071c22a881
No known key found for this signature in database
GPG key ID: 215C21B10DF38B4D
8 changed files with 8 additions and 0 deletions

View file

@ -236,6 +236,7 @@ pnpm build
Primero compile la interfaz y luego ejecute el siguiente comando en el directorio raíz del proyecto. Primero compile la interfaz y luego ejecute el siguiente comando en el directorio raíz del proyecto.
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```

View file

@ -290,6 +290,7 @@ pnpm build
Vui lòng build Frontend trước, sau đó thực hiện lệnh sau trong thư mục gốc của dự án. Vui lòng build Frontend trước, sau đó thực hiện lệnh sau trong thư mục gốc của dự án.
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```

View file

@ -230,6 +230,7 @@ pnpm build
请先完成前端编译,再回到项目的根目录执行以下命令。 请先完成前端编译,再回到项目的根目录执行以下命令。
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```

View file

@ -235,6 +235,7 @@ pnpm build
請先完成前端編譯,再回到專案的根目錄執行以下命令。 請先完成前端編譯,再回到專案的根目錄執行以下命令。
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```

View file

@ -296,6 +296,7 @@ pnpm build
Please build the app first, and then execute the following command in the project root directory. Please build the app first, and then execute the following command in the project root directory.
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```

View file

@ -32,5 +32,6 @@ Before building the backend, the app should be built first because the backend w
Please execute the following command in the project root directory. Please execute the following command in the project root directory.
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```

View file

@ -31,5 +31,6 @@ pnpm build
请在项目的根目录执行以下命令。 请在项目的根目录执行以下命令。
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```

View file

@ -31,5 +31,6 @@ pnpm build
請在專案的根資料夾執行以下命令。 請在專案的根資料夾執行以下命令。
```shell ```shell
go generate
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o nginx-ui -v main.go
``` ```