This is the example application for ZK "Getting Started" articles:
Clone the project and launch your command line interface in the project root folder. Execute the following commands based on your environment.
mvn jetty:run
Run the Maven wrapper below which will download everything needed for you during starting up:
- Linux / Mac
./mvnw jetty:run
- Windows
mvnw.cmd jetty:run
You can press Ctrl + c
to stop the jetty server.
Assuming you have installed Docker.
- build an image by
docker build -t gettingstarted .
- run
docker run -p 8080:8080 gettingstarted
It will take a while because it needs to download all required jars.
Then visit http://localhost:8080/getzkup/ with your browser.