Merge pull request #7737 from mesutcang/master
* pr/7737: Improve Cassandra sample README documentation
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
= Spring Boot Sample Data Cassandra
|
||||
|
||||
To run the project, need to run below `cql` commands on Cassandra.
|
||||
|
||||
CREATE KEYSPACE mykeyspace WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
|
||||
== 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.
|
||||
|
||||
Reference in New Issue
Block a user