Setting up the application root environment variable

The IGWEB demo relies on an application root environment variable, $IGWEB_APP_ROOT, being defined. This environment variable is used by the web application to declare where it resides. By doing so, the web application can determine where other resources, such as static assets (images, css, and javascript), are present.

You should set up the $IGWEB_APP_ROOT environment variable by adding the following entry in your bash profile:

export IGWEB_APP_ROOT=${GOPATH}/src/github.com/EngineerKamesh/igb/igweb

To verify that the $IGWEB_APP_ROOT environment variable exists in the environment, you can use the echo command:

$ echo $IGWEB_APP_ROOT
/Users/kamesh/go/src/github.com/EngineerKamesh/igb/igweb
..................Content has been hidden....................

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