Created
December 22, 2016 06:29
-
-
Save jinnabaalu/13a8f94f3d03fec5a485dacf5852c424 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Download Datastax community Edition from Planet Cassandra | |
| https://academy.datastax.com/planet-cassandra/cassandra | |
| Install it | |
| after this done | |
| Create app using jhipster with casandra database | |
| create a keyspace as follows | |
| Step | |
| --> start the cqlsh | |
| --> create a keyspace in cqlsh | |
| cqlsh> source '<path of the keyspace which is located in config folde>'; | |
| cqlsh> source 'D:\WiseStep\Wisestep.Crowdsourcing\src\main\resources\config\cql\create-keyspace.cql'; | |
| --> use keyspace | |
| cqlsh> use <keyspace_name>; | |
| --> execute the create table cql script | |
| cqlsh><keyspacename>>source 'pathe of the cql script'; | |
| cqlsh><keyspacename>> source 'D:\WiseStep\Wisestep.Crowdsourcing\src\main\resources\config\cql\changelog\00000000000000_create-tables.cql'; | |
| --> execute the insert script | |
| cqlsh><keyspacename>>source 'pathe of the cql script'; | |
| cqlsh><keyspacename>> source 'D:\WiseStep\Wisestep.Crowdsourcing\src\main\resources\config\cql\changelog\00000000000001_insert_default_users.cql'; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment