The Resources"
From Documentation
Tmillsclare (talk | contribs) |
m (extract instructions of running app from checkout app) |
||
Line 17: | Line 17: | ||
git clone git://github.com/zkbooks/ZK-Essentials.git zkessentials | git clone git://github.com/zkbooks/ZK-Essentials.git zkessentials | ||
git checkout withoutdb | git checkout withoutdb | ||
− | + | ||
− | |||
If you prefer to set up the project in eclipse please refer to [[ZK Essentials/Working with the Sample Applications/Setting Up the Applications Using Eclipse/Store | here]]. | If you prefer to set up the project in eclipse please refer to [[ZK Essentials/Working with the Sample Applications/Setting Up the Applications Using Eclipse/Store | here]]. | ||
− | ===Store with | + | ===Store with Database=== |
The store with database is also available on our svn. You can checkout the project using: | The store with database is also available on our svn. You can checkout the project using: | ||
Line 28: | Line 27: | ||
git clone git://github.com/zkbooks/ZK-Essentials.git zkessentials | git clone git://github.com/zkbooks/ZK-Essentials.git zkessentials | ||
git checkout withdb | git checkout withdb | ||
− | + | ||
− | |||
If you prefer to set up the project in eclipse please refer to [[ZK Essentials/Working with the Sample Applications/Setting Up the Applications Using Eclipse/Store with a Database | here]]. | If you prefer to set up the project in eclipse please refer to [[ZK Essentials/Working with the Sample Applications/Setting Up the Applications Using Eclipse/Store with a Database | here]]. | ||
+ | |||
+ | ===Running the Sample Applications Using Maven=== | ||
+ | |||
+ | To run the sample applications using Maven, change directory to zkessentials root and issue the command: | ||
+ | |||
+ | mvn jetty:run | ||
+ | |||
+ | |||
+ | and direct your browser to http://localhost:8080/zkessentials. | ||
+ | |||
{{ZKEssentialsPageFooter}} | {{ZKEssentialsPageFooter}} |
Revision as of 19:02, 12 February 2012
This article is out of date, please refer to http://books.zkoss.org/zkessentials-book/master/ for more up to date information.
This book comes with two examples:
- Store - which uses an in memory model defined by Java statements
- Store with database - which uses a persistent model driven by Hibernate. This is used at the last chapter of the book.
If you require Maven & Git, please download and install them first:
Store
The store is available on github, you can retrieve it using the following commands:
git clone git://github.com/zkbooks/ZK-Essentials.git zkessentials git checkout withoutdb
If you prefer to set up the project in eclipse please refer to here.
Store with Database
The store with database is also available on our svn. You can checkout the project using:
git clone git://github.com/zkbooks/ZK-Essentials.git zkessentials git checkout withdb
If you prefer to set up the project in eclipse please refer to here.
Running the Sample Applications Using Maven
To run the sample applications using Maven, change directory to zkessentials root and issue the command:
mvn jetty:run
and direct your browser to http://localhost:8080/zkessentials.