Compile a customization project

Compile your Genero Web Client for JavaScript (GWC-JS) customization project.

When you have multiple customization projects defined in your project_dir/customization directory, only one customization is active.
Tip: To create a new customization project, make a copy of the template directory and rename it. Switch between projects by setting customization.
  1. Open the project_dir/custom.json file using a text editor.
  2. Set the compilation mode.

    Set  mode to cdev for development.

    Note: Compilation modes are set to "cdev” for development, and "prod" for production.
  3. Set the project. Set the value for customization to either customization/default, provided as the default customization, or your customization/customization_project directory.
    {
      "compile": {
        "mode": "cdev",
        "withStats":false,
        "customization": "customization/default"
      }
    }
    Note: customization takes a path relative to project_dir.
  4. Save your changes.
  5. Rebuild using grunt.
What to do next

To view your customized GWC-JS, open an application in your browser. If the application fails to load, see Troubleshooting customization configuration issues.