commit | 6a7c47ce40c78a869fc36d7f3c05f8bd503b1db8 | [log] [tgz] |
---|---|---|
author | Udo Schnurpfeil <github@schnurpfeil.de> | Wed Aug 03 15:51:48 2022 +0200 |
committer | GitHub <noreply@github.com> | Wed Aug 03 15:51:48 2022 +0200 |
tree | 25d0f1573804a89d605bfce93c90cec242a79b84 | |
parent | 5669f5e1910bdadf3e49447a2cebd4b8ea6b0d1e [diff] | |
parent | 59c56bc093647e22005cfa7abdb8f1d0bd0699cd [diff] |
Merge pull request #3047 from lofwyr14/main-quick-date 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/