docs: function overrideFromEnv(config) {
      var env = process.env;
  
      Object.keys(env)
          .forEach(function (key) {
              if (key.indexOf('WEBGME_') === 0) {
                  var configPath,
                      subConfig,
                      wasCreated,
                      value;
  
                  try {
                      value = JSON.parse(env[key]);
                  } catch (e) {
                      if (e instanceof SyntaxError) {
                          // Regular string value
                          value = env[key];
                      } else {
                          throw e;
                      }
                  }
  
                  configPath = key.split('_').slice(1);
  
                  subConfig = config;
                  configPath.forEach(function (cfgName, idx) {
                      wasCreated = wasCreated || (subConfig.hasOwnProperty(cfgName) === false);
                      if (idx === configPath.length - 1) {
                          subConfig[cfgName] = value;
                          console.log('ENV ' + (wasCreated ? 'created' : 'updated') +
                              ' config.' + configPath.join('.') + '=' + value + ' <' + typeof value + '>');
                      } else {
                          if (subConfig.hasOwnProperty(cfgName) === false) {
                              subConfig[cfgName] = {};
                          } else if (typeof subConfig[cfgName] !== 'object' ||
                              subConfig[cfgName] === null ||
                              subConfig[cfgName] instanceof Array) {
                              throw new Error(key + ' would override non-object config at "config.' +
                                  configPath.slice(0, idx + 1).join('.') + '".');
                          }
  
                          subConfig  = subConfig[cfgName];
                      }
                  });
              }
          });
  }