Creating a workspace using chectl and a local devfile
A Che workspace can be created by pointing the
chectl tool to a locally stored devfile. The Che instance then uses the discovered devfile to build a workspace.
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Installing Che.
The Che CLI management tool. See Using the chectl management tool.
The devfile is available on the local filesystem in the current working directory. See Configuring a workspace using a devfile for detailed information about creating and using devfiles.
You are logged in to Eclipse Che. See How to login into Che using chectl
devfile.yaml file from the GitHub repository to the current working directory.
Run a workspace from a devfile using the
workspace:createparameter with the
chectltool as follows:
$ chectl workspace:create --name=<WORKSPACE_NAME> \ (1) --devfile=devfile.yaml --start \ -n eclipse-che
|1||The workspace name to create.|