mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Improve Cassandra sample README documentation
Update the README file in `spring-boot-sample-data-cassandra` with details of how to setup the keyspace and create the tables. Closes gh-7737
This commit is contained in:
parent
44d6c3e846
commit
ab2290eecd
@ -1,4 +1,12 @@
|
||||
= 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.
|
||||
|
Loading…
Reference in New Issue
Block a user