Every stack includes a sample codebase, which is defined by the devfile of the stack. This section explains how to create a workspace from this code sample in a sequence of three procedures.
For more information on devfiles, see Configuring a Che workspace using a devfile.
Creating a workspace from User Dashboard
This section describes how to create a workspace from the User Dashboard.
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che quick-starts
-
Navigate to the Che Dashboard. See Navigating Che using the Dashboard.
-
In the left navigation panel, navigate to Workspaces.
-
Click on the Add Workspace button.
-
Define a Name for the workspace. A generated name is proposed. It can be modified.
-
In the Stack section, select the workspace runtime environment that will be used to build and run projects from the list.
Viewing the compute resource limitsThe memory needed by the stack is pre-calculated and displayed on the stack description line. Changing the memory requirements is only possible from the devfile.
-
Start the workspace: click on the Create & Open button at the top or bottom of the form:
|
Configuring the workspace before start
Instead of configuring the workspace once it has started, it is possible to configure the workspace before start.
|
Changing the configuration of an existing workspace from the User Dashboard
This section describes how to change the configuration of an existing workspace from the User Dashboard.
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che 'quick-starts'.
-
An existing workspace defined on this instance of Eclipse Che Creating a workspace from user dashboard.
-
Navigate to the Che Dashboard. See Navigating Che using the dashboard.
-
In the left navigation panel, navigate to Workspaces.
-
Click on the name of a workspace to navigate to the configuration overview page.
-
Click on the Overview tab, to execute following actions:
-
Change the Workspace name.
-
Toggle Ephemeral mode.
-
Export the workspace configuration to a file or private cloud.
-
Delete the workspace.
-
-
In the Projects section, choose the projects to integrate in the workspace.
-
Click on the Add Project button
-
Select the projects to integrate in the workspace.
-
Click on th Add button.
-
-
In the Plugins section, choose the plugins to integrate in the workspace.
ExampleStart with a generic Java-based stack, then later add support for Node or Python.
-
In the Editors section, choose the editors to integrate in the workspace. The Che 7 editor is based on Theia.
Example: Switch to the Che 6 editor-
To Switch to the Che 6 editor, select the GWT IDE.
-
-
From the Devfile tab, edit the workspace’s YAML configuration. See Devfile reference.
Example: add commands
Example: add a projectTo add a project into the workspace, add or edit the following section:
projects: - name: che source: type: git location: 'https://github.com/eclipse/che.git'
Running an existing workspace from the User Dashboard
This section describes how to run an existing workspace from the User Dasboard
Running an existing workspace from the User Dashboard with the Run button
This section describes how to run an existing workspace from the User Dashboard using the Run button.
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che 'quick-starts'.
-
An existing workspace defined on this instance of Eclipse Che Creating a workspace from user dashboard.
-
Navigate to the Che Dashboard. See Navigating Che using the dashboard.
-
In the left navigation panel, navigate to Workspaces.
-
Click on the name of a non-running workspace to navigate to the overview page.
-
Click on the Run button in the top right corner of the page.
-
The workspace is started.
-
The browser does not navigates to the workspace.
Running an existing workspace from the User Dashboard using the Open button
This section describes how to run an existing workspace from the User Dashboard using the Open button.
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che 'quick-starts'.
-
An existing workspace defined on this instance of Eclipse Che Creating a workspace from user dashboard.
-
Navigate to the Che Dashboard. See Navigating Che using the dashboard.
-
In the left navigation panel, navigate to Workspaces.
-
Click on the name of a non-running workspace to navigate to the overview page.
-
Click on the Open button in the top right corner of the page.
-
The workspace is started.
-
The browser navigates to the workspace.
Running an existing workspace from the User Dashboard using the Recent Workspaces
This section describes how to run an existing workspace from the User Dashboard using the Recent Workspaces.
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che 'quick-starts'.
-
An existing workspace defined on this instance of Eclipse Che Creating a workspace from user dashboard.
-
Navigate to the Che Dashboard. See Navigating Che using the dashboard.
-
In the left navigation panel, in the Recent Workspaces section, right-click on the name of a non-running workspace and click on Start in the contextual menu to start it.