O'Reilly logo

Isomorphic Go by Kamesh Balasubramanian

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

Running IGWEB

Prior to running the igweb executable, we must set the $IGWEB_APP_ROOT and $IGWEB_MODE environment variables on the production server:

 $ export IGWEB_APP_ROOT=/home/igweb/igweb $ export IGWEB_MODE=production

Setting the $IGWEB_APP_ROOT environment variable allows the igweb application to know the designated igweb directory that will contain dependent resources, such as static assets.

Setting the $IGWEB_MODE environment variable to production allows us to run the igweb application in production mode.

You should add entries for these two environment variables in the igweb user's .bashrc configuration file:

export IGWEB_APP_ROOT=/home/igweb/igwebexport IGWEB_MODE=production
You can log out and log back in on the production server ...

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