git clone git@github.com:KingDomPan/seabird.git $GOPATH/src/github.com/KingDomPan/seabird
- 执行
make buildfront
构建前端代码
# 下载依赖
go get -u github.com/jteeuwen/go-bindata/...
# 生成静态资源打包文件
make ui
# 生成二进制分发包
go build seabird.go
go get -u github.com/jteeuwen/go-bindata/...
make ui
docker build -t me.com/dockerwebui .
docker run -d -p 127.0.0.1:8080:8080 -v /var/run/docker.sock:/var/run/docker.sock me.com/dockerwebui