Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jinnabaalu/13a8f94f3d03fec5a485dacf5852c424 to your computer and use it in GitHub Desktop.
Save jinnabaalu/13a8f94f3d03fec5a485dacf5852c424 to your computer and use it in GitHub Desktop.
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