cloudstore-developers

Details

diff --git a/deployment-scripts/platform/generator/src/main/resources/database/database.aws.hibernate.properties b/deployment-scripts/platform/generator/src/main/resources/database/database.aws.hibernate.properties
index 58557db..de37633 100644
--- a/deployment-scripts/platform/generator/src/main/resources/database/database.aws.hibernate.properties
+++ b/deployment-scripts/platform/generator/src/main/resources/database/database.aws.hibernate.properties
@@ -1,6 +1,6 @@
 jdbc.dbtype=mysql
 jdbc.driverClassName=com.mysql.jdbc.Driver
-jdbc.url=jdbc:mysql://cloudscale-master.caf1fqo3vxnr.eu-west-1.rds.amazonaws.com/tpcw
-jdbc.username=root
+jdbc.url=jdbc:mysql://master/databasename
+jdbc.username=user
 jdbc.password=password
 jdbc.hibernate.dialect=org.hibernate.dialect.MySQLDialect
diff --git a/deployment-scripts/platform/generator/src/main/resources/database/database.aws.mongodb.properties b/deployment-scripts/platform/generator/src/main/resources/database/database.aws.mongodb.properties
index cdc9a38..ace5797 100644
--- a/deployment-scripts/platform/generator/src/main/resources/database/database.aws.mongodb.properties
+++ b/deployment-scripts/platform/generator/src/main/resources/database/database.aws.mongodb.properties
@@ -1,6 +1,6 @@
 jdbc.dbtype=mongodb
 mongodb.dbname=tpcw
-mongodb.host=54.229.201.180
+mongodb.host=ip
 mongodb.port=27017
-mongodb.username=tpcw
-mongodb.password=Yhm.3Ub+
\ No newline at end of file
+mongodb.username=user
+mongodb.password=password
diff --git a/deployment-scripts/platform/rds-tpcw-dump-15.1.2014.sql b/deployment-scripts/platform/rds-tpcw-dump-15.1.2014.sql
index 38e837a..2773e7b 100644
--- a/deployment-scripts/platform/rds-tpcw-dump-15.1.2014.sql
+++ b/deployment-scripts/platform/rds-tpcw-dump-15.1.2014.sql
@@ -1 +1 @@
-drek na palci
+Get it on http://cloudscale.xlab.si/rds-tcpw-dump-latest.sql
diff --git a/deployment-scripts/README.md b/deployment-scripts/README.md
index 7c43fef..bbc4725 100644
--- a/deployment-scripts/README.md
+++ b/deployment-scripts/README.md
@@ -25,11 +25,15 @@ Before you run scripts please examine the `config.ini` file (see Configuration s
 
 You can also use `install.sh` script which encapsulates running the scripts in one file. Run it with command:
 
-`$ install.sh aws`
+```
+$ install.sh aws
+```
 
 if you want to deploy showcase on Amazon Web Services, or:
 
-`$ install.sh openstack`
+```
+$ install.sh openstack
+```
 
 if you want to deploy showcase on OpenStack.
 
@@ -59,6 +63,9 @@ Configuration properties for AWS:
 Configuration properties for RDS:
 
 * `generate_type` - If value is `dump` then the SQL dump will be imported to RDS (**Recommended**). If value is `script` then the Java generator will be used. (**Slow, not recommended**)
+
+If you use `script` type for generating, please also examine files in `platform/src/main/resources/database`!
+
 * `generate_dump_path` - Full path to dump file. You can download dump file from [here](http://cloudscale.xlab.si/rds-tpcw-dump-latest.sql)
 * `region` - Region in which RDS instances will be created.
 * `instance_type` - Instance type to use for RDS instances. We recommend enough large instance type according to your testing scenario. Each instance has limited value for concurrent users to one RDS instance (max_connections MySQL config property). Please [click here](http://dba.stackexchange.com/a/41842) for more information! 
diff --git a/distributed-jmeter/README.md b/distributed-jmeter/README.md
index 5cf4e21..07b4b1f 100644
--- a/distributed-jmeter/README.md
+++ b/distributed-jmeter/README.md
@@ -1 +1,46 @@
-$ python manage.py syncdb
+##Introduction
+This is the first version of application that runs on [http://cloudscale.xlab.si/distributed-jmeter/](http://cloudscale.xlab.si/distributed-jmeter/). 
+
+It's a Django 1.6 app so you will need a support for Python 2.7 on your web server. We already provide you with configurations for Gunicorn, Supervisor and Nginx. This is default stack for deploying Django applications.
+
+##Server setup
+Install Nginx and Supervisor with:
+
+```
+$ sudo apt-get install nginx supervisor
+```
+
+You will also need to install Virtualenv. You can do this with:
+
+```
+$ pip install virtualenv
+```
+
+We shall assume that we are deploying application into `/home/distributedjmeter` directory. Change to this directory and run:
+
+```
+$ virtualenv env
+```
+
+This command should create directory `env`. Beside that directory also create directories `app, conf, packages and releases`. 
+
+##Installation
+On your computer you will need to install Fabric. You can install it with:
+
+```
+$ pip install fabric
+```
+
+Then edit `fabfile.py` and set:
+
+* `env.hosts` - Hosts where you want to deploy your app.
+* `env.user` - User that will run this application.<br />
+It's common practice that we create a new user for each application deployment. In our case this would be `distributedjmeter` user.
+
+Leave other properties as they are!
+
+Now run from shell command:
+
+```
+$ fab new deploy:install=True
+```