diff --git a/README.md b/README.md index 8725000..44d1ab4 100755 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # codewind-templates -Central repository for storing list of supported code templates for you use in codewind +Central repository for storing list of supported code templates for use in codewind # /devfiles/index.json -This file is generated by the build.sh and then running the docker image as created by the build step. DO NOT manually edit this file +This file is generated and MUST NOT be manually edited. + +1. Run [build.sh](https://github.com/microclimate-dev2ops/codewind-templates/blob/master/build.sh) to build the dockerfile. +2. Run the dockerfile mounting a local directory +```sh +docker run -v /myDirectory/codewind-templates/devfiles:/build/devfiles/ microclimate-dev2ops/codewind-templates \ No newline at end of file diff --git a/devfiles/index.json b/devfiles/index.json index 13ecb90..ac850aa 100644 --- a/devfiles/index.json +++ b/devfiles/index.json @@ -47,4 +47,12 @@ "location":"https://github.com/microclimate-dev2ops/microclimateGoTemplate", "links": {"self":"/devfiles/goTemplate/devfile.yaml" } } +,{ + "displayName":"Java Lagom template", + "description":"Template for building Lagom Reactive microservice in Java", + "language":"java", + "projectType":"docker", + "location":"https://github.com/microclimate-dev2ops/lagomJavaTemplate", + "links": {"self":"/devfiles/lagomJavaTemplate/devfile.yaml" } +} ] diff --git a/devfiles/javaMicroProfileTemplate/meta.yaml b/devfiles/javaMicroProfileTemplate/meta.yaml index 8265694..5b53292 100644 --- a/devfiles/javaMicroProfileTemplate/meta.yaml +++ b/devfiles/javaMicroProfileTemplate/meta.yaml @@ -3,5 +3,5 @@ description: Cloud Microservice Starter for Java - MicroProfile / Java EE tags: ["Java", "Maven",] globalMemoryLimit: 2674Mi icon: https://www.eclipse.org/che/images/logo-eclipseche.svg -projectType: "java" +projectType: "liberty" language: "java"