How to do it…

  1. Enable the application live monitor by adding EnableAdmin = true in $GOPATH/src/my-first-beego-project/conf/app.conf, as follows:
appname = my-first-beego-project
...
EnableAdmin = true
..

Optionally, change the port it listens on, by adding fields in $GOPATH/src/my-first-beego-project/conf/app.conf:

AdminAddr = "localhost"
AdminPort = 8088
  1. Run the program using the following command:
$ bee run
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.194.57