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 Che quick-starts.
-
The
chectlcommand-line tool for managing a Che server and its development workspaces. See Installing thechectlmanagement tool. -
The devfile is available on the local filesystem in the current working directory. See Making a workspace portable using a Devfile for detailed information about creating and using devfiles.
ExampleDownload the
devfile.yamlfile from the GitHub repository to the current working directory.
-
Run a workspace from a devfile using the
workspace:startparameter with thechectltool as follows:
$ chectl workspace:start --devfile=devfile.yaml