A Che workspace can be created by pointing to a devfile that is stored in a Git source repository. The Che instance then uses the discovered devfile.yaml file to build a workspace using the /f?url= API.
Prerequisites
-
A running instance of Eclipse Che. To install an instance of Eclipse Che, see Che quick-starts.
-
The
devfile.yamlfile in the root folder of a Git repository available over HTTPS. See Making a workspace portable using a devfile for detailed information about creating and using devfiles.
Procedure
Run the workspace by opening the following URL: https://<CheHost>/f?url=https://<GitRepository>
Example
https://che.openshift.io/f?url=https://github.com/eclipse/che