Importing the Parking Demo
The Parking Demo, illustrated in "The Parking Demo for Vaadin TouchKit" in the overview, showcases most of the functionality in Vaadin TouchKit. You can try out the demo online with a TouchKit-compatible browser at demo.vaadin.com/parking.
You can browse the sources on-line or, more conveniently, import the project in Eclipse (or other IDE). As the project is Maven-based, Eclipse users need to install the m2e plugin to be able to import Maven projects, as well as EGit to be able to import Git repositories. Once they are installed, you should be able to import Parking Demo as follows.
-
Select
-
Select
, and click . -
You may need to install the EGit SCM connector if you have not done so previously. If Git is not available in the SCM list, click
, select the EGit connector, and click . You need to restart Eclipse and redo the earlier steps above.Instead of using m2e EGit connector, you can also check out the project with another Git tool and then import it in Eclipse as a Maven project.
-
In SCM URL, select git and enter the repository URL https://github.com/vaadin/parking-demo.
-
Click
. -
Compile the widget set either by clicking vaadin:compile goal with Maven.
in the Eclipse toolbar or by running the -
Deploy the application to a server. See "Setting Up and Starting the Web Server" for instructions for deploying in Eclipse.
-
Open the URL http://localhost:8080/parking with a mobile device or a WebKit-compatible browser, such as Safari or Chrome, to run the Parking Demo.