This section describes how to test a customized Che-Theia by opening a new workspace with custom branding.

Prerequisites
  • Che-Theia container image built with custom branding definitions

Procedure

To test a custom Che-Theia image, create a new meta.yaml file describing a custom Che editor, and use it in a devfile for the testing workspace.

  1. Download the latest Che-Theia meta.yaml from the plug-in registry

  2. Replace the image value in the containers section to point to the custom Che-Theia container image.

  3. Create a workspace using the sample che-theia-branding-example devfile to apply the changes:

    factory contribute
    metadata:
      name: che-theia-all
    projects:
      - name: che-cheia-branding-example
        source:
          location: 'https://github.com/che-samples/che-theia-branding-example.git'
          type: git
          branch: master
    components:
      - type: cheEditor
        reference: >-
          https://raw.githubusercontent.com/che-samples/che-theia-branding-example/master/che-editor.meta.yaml
    apiVersion: 1.0.0
  4. Run the workspace to see the changes:

    • The dark theme of Che-Theia:

      welcome dark
      about dark
    • The light theme of Che-Theia:

      welcome light
      about light