From aed869a1ad9d8d1aa9ca9861177e4e64fbc728a7 Mon Sep 17 00:00:00 2001 From: Sriram Madapusi Vasudevan Date: Tue, 5 Aug 2014 16:26:26 -0400 Subject: [PATCH 1/2] update Readme.rst Some fixes with respect to readability --- README.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 3d7dfb23..b6d94818 100644 --- a/README.rst +++ b/README.rst @@ -129,22 +129,23 @@ Installing Cassandra Locally Mac OSX ------- -1. Update your Java SDK to the latest version (v7+) +1. Update your Java SDK to the latest version (v7+):: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html -You can check the version currently running with +You can check the version currently running with:: $java -version -2. Follow the instructions on the datastax site to install cassandra for Mac OSX +2. Follow the instructions on the datastax site to install cassandra for Mac OSX:: http://www.datastax.com/2012/01/working-with-apache-cassandra-on-mac-os-x -3. CREATE KEYSPACE cdn - WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; +3. Create a Keyspace with Replication:: -3. Import the Cassandra Schema to set up the required tables that CDN will need + CREATE KEYSPACE cdn WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; + +4. Import the Cassandra Schema to set up the required tables that CDN will need:: Open ./cqlsh and import the /cdn/storage/cassandra/schema.cql file @@ -153,11 +154,11 @@ You can check the version currently running with Running tests ----------------------------- -First install the additional requirements: +First install the additional requirements:: $ pip install tox -And then run tests: +And then run tests:: $ tox -e py27 From ec4ac9db2095ebeff32906cc1b3868ac8955a79b Mon Sep 17 00:00:00 2001 From: Sriram Madapusi Vasudevan Date: Tue, 5 Aug 2014 16:29:47 -0400 Subject: [PATCH 2/2] update Readme.rst Change Indentation --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index b6d94818..5fb35dc1 100644 --- a/README.rst +++ b/README.rst @@ -133,7 +133,7 @@ Mac OSX http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html -You can check the version currently running with:: + You can check the version currently running with:: $java -version