docker安装参考连接:
https://blog.csdn.net/sun007700/article/details/88814258
bee环境准备
- bee (installation manual) (请务必使用链接版本,不要使用 beego 官方版本,存在一些定制)
所以
git clone https://github.com/wilhelmguo/bee.git
go get github.com/beego/bee
删除掉go get的bee目录
rm /data/work/gopath/src/github.com/beego/bee -rf
并将刚才Git clone的bee替换掉
mv bee /data/work/gopath/src/github.com/beego
执行
# bee version
______
| ___ \
| |_/ / ___ ___
| ___ \ / _ \ / _ \
| |_/ /| __/| __/
\____/ \___| \___| v1.10.0├── Beego : Beego is not installed. Please do consider installing it first: https://github.com/astaxie/beego
├── GoVersion : go1.12.1
├── GOOS : linux
├── GOARCH : amd64
├── NumCPU : 4
├── GOPATH : /data/work/gopath
├── GOROOT : /data/work/go
├── Compiler : gc
└── Date : Tuesday, 26 Mar 2019
[root@localhost src]#
bee new my-web-appcd my-web-app && bee run