commit | 59c56bc093647e22005cfa7abdb8f1d0bd0699cd | [log] [tgz] |
---|---|---|
author | Udo Schnurpfeil <udo.schnurpfeil@irian.eu> | Wed Aug 03 15:44:35 2022 +0200 |
committer | Udo Schnurpfeil <udo.schnurpfeil@irian.eu> | Wed Aug 03 15:49:07 2022 +0200 |
tree | 25d0f1573804a89d605bfce93c90cec242a79b84 | |
parent | 5669f5e1910bdadf3e49447a2cebd4b8ea6b0d1e [diff] |
demo: example for custom date field with quick typing
You need Maven 3 and Java 8 or later to build Tobago.
In the project directory you can use:
mvn clean install
to run the install target on all sub projects. This will put all necessary artifacts into your local repository.
Switch to sub-directory and call Maven to run the demo:
cd tobago-example/tobago-example-demo mvn clean jetty:run -Pjetty
Browse to the local URL http://localhost:8080/
Switch to sub-directory and call Maven to run the demo:
cd tobago-example/tobago-example-demo mvn clean jetty:run -Pjetty -Djsf=mojarra-3.0
Browse to the local URL http://localhost:8080/
Switch to sub-directory and call Maven to build and Docker to run the demo:
cd tobago-example/tobago-example-demo mvn clean install -Djsf=mojarra-3.0 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:10.0-jre11
Browse to the local URL http://localhost:8080/tobago-example-demo/