Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
huanglishi authored May 23, 2024
1 parent 0ea9ed4 commit 60ede4b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,15 +147,21 @@ git上传了全部的Go源码,前端代码和数据库请到[GoFly社区下载
## 七、安装及部署打包说明
### 1. 后端代码
#### 安装fresh 热更新-边开发边编译
```
go install github.com/pilu/fresh@latest

```
#### 初始化mod
```
go mod tidy

```
#### 热编译运行
bee run 或 fresh
```
bee run 或 fresh
```
#### 打包
```
go build main.go
```
#### 打包(此时会打包成Linux上可运行的二进制文件,不带后缀名的文件)
```
SET GOOS=linux
Expand Down

0 comments on commit 60ede4b

Please sign in to comment.