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

How IGWEB operates in production mode

Before proceeding to production deployment, we need to understand how the server-side web application, igweb, operates when it's placed into production mode. Production mode can be turned on by setting the IGWEB_MODE environment variable with the value "production" before starting the igweb server-side application, like so:

$ export IGWEB_MODE=production

There are three important behaviors that will take place when IGWEB runs in production mode:

  1. The JavaScript external <script> tag that includes the client-side application, inside the header partial template, will request the minified JavaScript source file located at $IGWEB_APP_ROOT/static/js/client.min.js.
  2. Static assets for cogs (cogimport.css and ...

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