mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore(docs): update backend build command
This commit is contained in:
parent
2071891841
commit
d4fbeef498
7 changed files with 7 additions and 7 deletions
|
@ -235,7 +235,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 build -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
|
||||||
```
|
```
|
||||||
|
|
||||||
## Script para Linux
|
## Script para Linux
|
||||||
|
|
|
@ -298,7 +298,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 build -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
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tập lệnh cho Linux
|
## Tập lệnh cho Linux
|
||||||
|
|
|
@ -229,7 +229,7 @@ pnpm build
|
||||||
请先完成前端编译,再回到项目的根目录执行以下命令。
|
请先完成前端编译,再回到项目的根目录执行以下命令。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go build -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
|
||||||
```
|
```
|
||||||
|
|
||||||
## Linux 安装脚本
|
## Linux 安装脚本
|
||||||
|
|
|
@ -234,7 +234,7 @@ pnpm build
|
||||||
請先完成前端編譯,再回到專案的根目錄執行以下命令。
|
請先完成前端編譯,再回到專案的根目錄執行以下命令。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go build -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
|
||||||
```
|
```
|
||||||
|
|
||||||
## Linux 安裝指令
|
## Linux 安裝指令
|
||||||
|
|
|
@ -295,7 +295,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 build -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
|
||||||
```
|
```
|
||||||
|
|
||||||
## Script for Linux
|
## Script for Linux
|
||||||
|
|
|
@ -31,5 +31,5 @@ pnpm build
|
||||||
请在项目的根目录执行以下命令。
|
请在项目的根目录执行以下命令。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o dist/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
|
||||||
```
|
```
|
||||||
|
|
|
@ -31,5 +31,5 @@ pnpm build
|
||||||
請在專案的根資料夾執行以下命令。
|
請在專案的根資料夾執行以下命令。
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
go build -tags=jsoniter -ldflags "$LD_FLAGS -X 'github.com/0xJacky/Nginx-UI/settings.buildTime=$(date +%s)'" -o dist/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
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue