cloudstore-developers
Changes
README.md 35(+31 -4)
Details
README.md 35(+31 -4)
diff --git a/README.md b/README.md
index c68a38d..55e2b4a 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,20 @@
## Introduction
+CloudStore is an e-commerce web application developed by using [TPC-W](http://www.tpc.org/tpcw/) standard and it is used as a Showcase application to validate the CloudScale tools that were developed during the project. The application was developed using the Java Springframework.
-CloudStore is an open-source e-commerce web application developed following the functional requirements defined by the [TPC-W](http://www.tpc.org/tpcw/) standard, and it's goal is to be used for the analysis of cloud characteristics of systems, such as capacity, scalability, elasticity and efficiency. It was developed as a Showcase application to validate the CloudScale tools that were developed during that project.
+CloudStore runs on Tomcat web application server and uses MySQL database. Static files and images needs to be generated with ImgGen tool.
-The application was developed in Java using the Spring framework and running on a Tomcat web application server, while using a MsSQL database.
-Static files and images needs to be generated with ImgGen tool, but a default database dump and load generation scripts are available in order to start testing a deployment in a very short time.
+## Database
-Different IaaS, PaaS, Storages and Architectures can be tested with little one little changes to the code.
+CloudStore is using MySQL database. Database can be generated by running ```src/main/java/eu/cloudscale/showcase/generate/Generate.java``` file:
+
+```
+$ cd src/main/java/eu/cloudscale/showcase/generate/
+$ javac Generate.java
+$ java Generate mysql
+```
+
+This takes a long time and it's slow. We recommend you to import [SQL dump](http://cloudscale.xlab.si/showcase/dumps/rds-tpcw-dump-latest.sql) into your MySQL database.
## Running
@@ -56,3 +64,22 @@ from directory where the ```pom.xml``` file is located.
### Installing
Copy ```target/showcase-1.0.0-BUILD-SNAPSHOT.war``` to Tomcat.
+## Using ImgGen tool
+Open file ```populate_images``` and edit:
+
+```$NUM_ITEMS``` - How many items/books are in database (default: 10000)
+
+```$DEST_DIR``` - Directory name where to save generated images
+
+```$GEN_CMD``` - Path to ```tpcwIMG``` program for generating the images (default: ImgFiles/tpcwIMG)
+
+Now run command:
+
+```
+$ ./populate_images
+```
+
+Copy the directory with images to somewhere publicly available.
+
+
+