beego install from scratch

1.  install beego

Firstly,  I have installed Go and set the enviroment and set PATH.

However,  I fail to download github.com/astaxie/beego.

solution:  install git and set the PATH as C:Program Files (x86)Gitin

then run 

d:>go get github.com/astaxie/beego

then the files are created as  

 

2.install bee and add $GOPATH/bin into $PATH

go get github.com/beego/bee

3. create a new project and run it.

>cd %GOPATH%/src
>bee new hello
>cd hello
>bee run hello
原文地址:https://www.cnblogs.com/harrysun/p/3659860.html