Creating a workspace from code sample

This section explains how to create a workspace from code sample or devfile template.

  1. Creating a workspace from sample using the Get Started view.

  2. Creating a custom workspace using templates on Custom Workspace view.

For more information about devfiles, see Configuring a workspace using a devfile.

Creating a workspace from Get Started view of user dashboard

This section describes how to create a workspace from the user dashboard with a code sample.

Prerequisites
  • A running instance of Eclipse Che. To install an instance of Eclipse Che, see Installing Che.

Procedure
  1. Navigate to the Che Dashboard. See Navigating Che using the Dashboard.

  2. In the left navigation panel, go to Get Started.

  3. Click the Get Started tab.

  4. In the gallery, there is list of samples that may be used to build and run projects.

    Select a sample from the gallery
  5. Start the workspace: click the chosen stack card.

    Create and Open
New workspace name

Workspace name can be auto-generated based on the underlying devfile of the stack. Generated names always consist of the devfile metadata.generateName property as the prefix and four random characters.

Creating a custom workspace from a template

This section describes how to create a custom workspace from a template.

Prerequisites
  • A running instance of Eclipse Che. To install an instance of Eclipse Che, see Installing Che.

Procedure
  1. Navigate to the Che Dashboard. See Navigating Che using the Dashboard.

  2. In the left navigation panel, go to Get Started.

  3. Click the Custom Workspace tab.

  4. Define a Name for the workspace.

    New workspace name

    Workspace name can be auto-generated based on the underlying devfile of the stack. Generated names always consist of the devfile metadata.generateName property as the prefix and four random characters.

  5. In the Devfile section, select the devfile template that will be used to build and run projects.

    Select a devfile from the list
  6. Start the workspace: click the Create & Open button at the bottom of the form: