Configuring a Che 7.29 workspace
Changing the configuration of an existing workspace
This section describes how to change the configuration of an existing workspace from the user Dashboard.
-
A running instance of Che. To install an instance of Che, see Installing Che.
-
An existing workspace defined on this instance of Che.
-
Navigate to the Che Dashboard. See Navigating Che using the Dashboard.
-
In the left navigation panel, go to Workspaces.
-
Click the name of a workspace to navigate to the configuration overview page.
-
Click the Overview tab and execute following actions:
-
Change the Workspace name.
-
Select Storage Type.
-
Review namespace.
-
-
From the Devfile tab, edit YAML configuration of the workspace. See Configuring a workspace using a devfile.
Adding projects to your workspace
-
A running instance of Che. To install an instance of Che, see Installing Che.
-
An existing workspace defined on this instance of Che.
To add a project to your workspace:
-
Navigate to the Workspaces page and click the workspace, which is about to be updated.
-
Open the Devfile tab.
-
In the Devfile editor, add a
projects
section with desired project. -
Once the project is added, click the Save button to save this workspace configuration.
For demonstration example, see below:
Example - Adding a.git
project into a workspace using a devfileIn the following instance, the project
che
acts as the example of a user’s project. A user specifies this project using thename
attribute of a devfile. Thelocation
attribute defines the source repository represented by an URL to a Git repository or zip archive.To add a project into the workspace, add or edit the following section:
projects: - name: <che> source: type: git location: 'https://github.com/<github-organization>/<che>.git'
For additional information, see the Devfile reference section.
Configuring the workspace tools
Adding plug-ins
-
A running instance of Che. To install an instance of Che, see Installing Che.
-
An existing workspace defined on this instance of Che.
To add plug-ins to your workspace:
-
Click the Devfile tab.
-
Add the desired
chePlugin
component and click the Save button.To see a list of available plugins, activate the completion feature by pressing Ctrl+Space.
Defining the workspace editor
-
A running instance of Che. To install an instance of Che, see Installing Che.
-
An existing workspace defined on this instance of Che.
To define the editor to use with the workspace:
-
Click the Devfile tab.
-
Add the desired
cheEditor
component and click the Save button.To see a list of available plugins, activate the completion feature by pressing Ctrl+Space. The recommended editor for Che 7.29 is Che-Theia.