A workspace can be created using a devfile, the URL of which is pointing to the raw content of the devfile. The Che instance then uses the discovered devfile to build a workspace.
Prerequisites
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che quick-starts.
-
The publicly-accessible standalone
devfile.yamlfile. See Making a workspace portable using a Devfile for detailed information about creating and using devfiles.
Procedure
-
Execute the workspace by opening the following URL:
https://<your-che-host>/f?url=https://<yourhosturl>/devfile.yaml
Example
https://che.openshift.io/f?url=https://gist.githubusercontent.com/themr0c/ef8e59a162748a8be07e900b6401e6a8/raw/8802c20743cde712bbc822521463359a60d1f7a9/devfile.yaml