You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/06/24 09:39:17 UTC

[myfaces-tobago] 02/02: TOBAGO-2045: Go for JavaEE 8 servers and Quarkus * quick start

This is an automated email from the ASF dual-hosted git repository.

lofwyr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit e59a0dc798b0d5c935c55bff5b4be30ff9298ac2
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Fri Jun 19 12:21:36 2020 +0200

    TOBAGO-2045: Go for JavaEE 8 servers and Quarkus
    * quick start
---
 README.md | 30 +++++++++++++++++++++++++++---
 1 file changed, 27 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index ac90149..07926e9 100644
--- a/README.md
+++ b/README.md
@@ -14,13 +14,37 @@ mvn install
 to run the install target on all sub projects. This will
 put all necessary artifacts into your local repository.
 
-## Demo
+## Demo - Jetty
 
 Switch to sub-directory and call Maven to run the demo:
 
 ```
 cd tobago-example/tobago-example-demo
-mvn jetty:run
+mvn clean jetty:run -Pjetty
 ```
 
-Browse to the local URL http://localhost:8080/tobago-example-demo/
\ No newline at end of file
+Browse to the local URL http://localhost:8080/
+
+## Demo - Tomcat in Docker
+
+Switch to sub-directory and call Maven to run the demo:
+
+```
+cd tobago-example/tobago-example-demo
+mvn clean install -Ptomcat
+docker run -it --rm -p 8080:8080 -v `pwd`/target/tobago-example-demo.war:/usr/local/tomcat/webapps/tobago-example-demo.war --name tobago-example-demo tomcat:9-jre8
+```
+
+Browse to the local URL http://localhost:8080/tobago-example-demo/
+
+## Demo - Quarkus
+
+Switch to sub-directory and call Maven to run the demo:
+
+```
+cd tobago-example/tobago-example-demo
+mvn clean install -Pquarkus
+java -jar ./target/tobago-example-demo-runner.jar
+```
+
+Browse to the local URL http://localhost:8080/