You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by hn...@apache.org on 2022/11/23 21:24:19 UTC
[myfaces-tobago] branch tobago-5.x updated: docs: tomee + liberty
This is an automated email from the ASF dual-hosted git repository.
hnoeth pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git
The following commit(s) were added to refs/heads/tobago-5.x by this push:
new e378c5bf9d docs: tomee + liberty
e378c5bf9d is described below
commit e378c5bf9dec36b2a86619e8757fa11f4063398e
Author: Henning Noeth <hn...@apache.org>
AuthorDate: Wed Nov 23 22:14:47 2022 +0100
docs: tomee + liberty
Add description how to start the demo in TomEE or in open-liberty.
---
README.md | 26 ++++++++++++++++++++++++--
1 file changed, 24 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index b76524467c..aa8c03c169 100644
--- a/README.md
+++ b/README.md
@@ -11,8 +11,8 @@ You need Maven 3 (at least 3.0.4) and Java 8 or later to build Tobago.
In the project directory you can use:
-```
-mvn install
+```
+mvn install
```
@@ -30,6 +30,28 @@ mvn clean jetty:run -Pjetty
Browse to the local URL http://localhost:8080/
+## Demo - TomEE
+
+Switch to sub-directory and call Maven to run the demo:
+
+```
+cd tobago-example/tobago-example-demo
+mvn clean package -Ptomee tomee:run
+```
+
+Browse to the local URL http://localhost:8080/
+
+## Demo - Open Liberty
+
+Switch to sub-directory and call Maven to run the demo:
+
+```
+cd tobago-example/tobago-example-demo
+mvn clean -Pliberty liberty:run
+```
+
+Browse to the local URL http://localhost:9080/
+
## Demo - Tomcat in Docker
Switch to sub-directory and call Maven to run the demo: