Skip to content

安装部署

wenjianzhang edited this page Mar 14, 2020 · 3 revisions

下载源文件

git clone https://github.com/wenjianzhang/go-admin.git

编译

cd ./goadmin/src/goadmin

go build

修改初始化参数

vi ./config/setting.yml (更改isinit和数据库连接)

启动

./goadmin

交叉编译

env GOOS=windows GOARCH=amd64 go build main.go

# or

env GOOS=linux GOARCH=amd64 go build main.go
Clone this wiki locally