spring-boot/spring-boot-samples/spring-boot-sample-data-cas...
Phillip Webb 85504e74a6 Merge branch '1.4.x' into 1.5.x 2016-12-27 15:05:15 -08:00
..
src Try to make the tests for the Cassandra sample more robust 2016-10-17 15:28:50 +01:00
README.adoc Improve Cassandra sample README documentation 2016-12-27 12:56:22 -08:00
pom.xml Next development version 2016-12-23 00:15:23 +00:00

README.adoc

= Spring Boot Sample Data Cassandra

To run the project, need to run below `cql` commands on Cassandra.

== Keyspace Creation in Cassandra
[source,indent=0]
----
	CREATE KEYSPACE mykeyspace WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
----

== Table Creation in Cassandra
Run `cql` using the  link:src/test/resources/setup.cql[setup script] located in resources folder.