cloudstore-developers
Changes
README.md 56(+6 -50)
Details
README.md 56(+6 -50)
diff --git a/README.md b/README.md
index 111cebf..13354ab 100644
--- a/README.md
+++ b/README.md
@@ -77,46 +77,6 @@ Edit file ```src/main/resources/database/database.hibernate.properties``` and se
```
Replace ```<username>``` and ```<password>``` placeholders with username and password you are using to connect to database.
-
-#### MongoDB configuration
-
-Edit file ```src/main/resources/database/database.mongodb.properties``` and set:
-
-1. Set database name:
-
- ```
- mongodb.dbname=tpcw
- ```
-
-2. Set database hostname or IP
-
- ```
- mongodb.host=127.0.0.1
- ```
-
-3. Set database port
-
- ```
- mongodb.port=27017
- ```
-
-4. Set database username
-
- ```
- mongodb.username=test
- ```
-
-4. Set connection pool size
-
- ```
- mongodb.pool_size=150
- ```
-
-5. Set database password
-
- ```
- mongodb.password=test123
- ```
## Installing
@@ -184,19 +144,15 @@ Database can be generated for both SQL and MongoDB databases or you can use exis
2. Make sure you have edited the configuration file for database ```src/main/resources/database/database.aws.hibernate.properties```. For more information see **Configuration** section.
-3.
-
+3. Then run ```generate.sh```:
-CloudStore uses a MySQL database, which can be generated by running ```Generate.java``` file:
+ ```
+ $ generate.sh sql
+ ```
-```
-$ cd src/main/java/eu/cloudscale/showcase/generate/
-$ javac Generate.java
-$ java Generate mysql
-```
-But first make sure you have the Spring Framework already installed.
+#### Import database for SQL databases
-This process can take a long time. Another option is to import a previously prepared [SQL dump](http://cloudscale.xlab.si/showcase/dumps/rds-tpcw-dump-latest.sql) into your MySQL database.
+Because generating database from scratch is very slow we also provide a dump you can import into database. The dump is generated for 10000 books and it's available for [download](http://cloudscale.xlab.si/showcase/dumps/rds-tpcw-dump-latest.sql)
## Running