1, installed go environment
2, beego tool mounting frame and bee
$ go get github.com/astaxie/beego
$ go get github.com/beego/bee
复制代码
Installed beego framework, tools and bee, (This command may take in C: \ Users \ vargo \ go under \ src directory)
3, web project
new command is to create a new Web project, we execute bee new <project name> at the command line you can create a new project. However, note that this command is only generated in the project directory structure in GOPATH / src appropriate directory: bee new (item name)
4, Api applications
We execute bee api <project name> at the command line you can create a new project. However, note that this command is only generated in the project directory structure in GOPATH / src appropriate directory: bee api (item name)
5, bee running applications go
bee run command is monitoring beego project, by fsnotify monitor file system. However, note that the command must be executed under $ GOPATH / src / appname.