Sample applications

    To access the component over the web, create a URL using odo url create.

    java

    This example helps build and run fat JAR Java applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the .

    1. $ odo create java --git https://github.com/spring-projects/spring-petclinic.git

    Build and run Node.js applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the Node.js 8 container image.

    perl

    1. $ odo create perl --git https://github.com/openshift/dancer-ex.git

    This example helps build and run PHP applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the PHP 7.1 Docker image.

      python

      This example helps build and run Python applications on CentOS 7. For more information about using this builder image, including OKD considerations, see the Python 3.6 container image.

      Binary examples

      java

      Java can be used to deploy a binary artifact as follows:

      1. $ git clone https://github.com/spring-projects/spring-petclinic.git
      2. $ cd spring-petclinic
      3. $ mvn package
      4. $ odo push