== {brandname} GUI demo
This document walks you through using the {brandname} GUI demo that ships with {brandname}, and assumes that you have
ifndef::productized[]
 link:http://www.infinispan.org/download[downloaded]
endif::productized[]
  the latest version of {brandname} and unzipped the archive. 

I will refer to the {brandname} directory created by unzipping the archive as
ifndef::productized[]
 `${INFINISPAN_HOME}`.
endif::productized[]
ifdef::productized[]
 `${RHDG_HOME}`.
endif::productized[]

NOTE: You will need either the -bin.zip or -all.zip version for this demo.

=== Step 1: Start the demo GUI
Open a console and enter:

ifndef::productized[]
$ cd ${INFINISPAN_HOME}
endif::productized[]
ifdef::productized[]
$ cd ${RHDG_HOME}
endif::productized[]
 $ bin/runGuiDemo.sh

An equivalent `runGuiDemo.bat` file is also provided for Windows users.

image::images/guidemo1.png[]

=== Step 2: Start the cache
Start the cache in the GUI that starts up, using the _Start Cache_ button.

image::images/guidemo2.png[]

=== Step 3: Manipulate data
In the _Manipulate Data_ tab, add entries, generate random data, etc.

image::images/guidemo3.png[]

=== Step 4: Start more cache instances
Repeat steps 1 and 2 to launch and start up more caches.
Watch cluster formation in the _Cluster View_ tab.

image::images/guidemo4.png[]

=== Step 5: Manipulate more data
Add and remove data on any of the nodes, and watch state being distributed.
Shut nodes down as well to witness data durability.

image::images/guidemo5.png[]
