O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it…

  1. Install the github.com/beego/bee package using the go get command, as follows: 
$ go get github.com/beego/bee
  1. Open a terminal to your $GOPATH/src directory and create a project using the bee new command, as follows:
$ cd $GOPATH/src$ bee new my-first-beego-project

Once the command has executed successfully, it will create a new Beego project, and the creation steps on the console will look like the following screenshot:

  1. Go to the path of the newly created project and enter bee run to compile and run the project, as follows:
$ cd $GOPATH/src/my-first-beego-project$ bee run

Once, command has executed successfully, bee will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required