Create zip file with customization project

Use this procedure to create a zip file with your Genero Browser Client (GBC) customization project for deployment on the GAS.

As a prerequisite, you have prepared a customization project and you have a compiled version of the GBC front-end. For more information, see the Genero Browser Client User Guide.

  1. Open the project_dir/custom.json file using a text editor.
    1. Set the value for mode to prod.
    2. Update the customization variable to reference the specific customization project you wish to deploy.
      {
        "compile": {
          "mode": "prod",
          "customization": "customization/myCustomProject"
        }
      }
  2. Use grunt --create-zip to compress the contents of your project_dir/dist/customization/custom_project_dir.
    Note: grunt --create-zip builds your current target (as grunt would do) and zips the contents.

    A zip file is created in project_dir/archive.

What to do next

See Deploy GBC client with deployment portal.