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.
-
Open the project_dir/custom.json file using a text
editor.
-
Set the value for mode to prod.
-
Update the
customization
variable to reference the specific customization
project you wish to deploy.
{
"compile": {
"mode": "prod",
"customization": "customization/myCustomProject"
}
}
-
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.