Jump to: navigation, search

Difference between revisions of "MagnetoDB/QA/Tests on local env workflow"

(Replaced content with "=Local environment without CCM and Devstack= '''This page is outdated. Please check the latest documentation here https://magnetodb.readthedocs.org/en/latest/'''")
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== All local environment without CCM and Devstack ===
+
=Local environment without CCM and Devstack=
  
1. Download [http://www.apache.org/dyn/closer.cgi?path=/cassandra/2.0.6/apache-cassandra-2.0.6-bin.tar.gz Cassandra 2.0.6]
+
'''This page is outdated. Please check the latest documentation here https://magnetodb.readthedocs.org/en/latest/'''
 
 
2. Run Cassandra single node instance
 
<pre>
 
$ cd apache-cassandra-2.0.6/bin
 
$ sudo ./cassandra -f
 
</pre>
 
 
 
3. Run CQLSH
 
<pre>
 
$ cd apache-cassandra-2.0.6/bin
 
$ ./cqlsh
 
</pre>
 
create service keyspaces and table
 
<pre>
 
cqlsh> CREATE KEYSPACE magnetodb  WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
 
cqlsh> CREATE TABLE magnetodb.table_info(tenant text, name text, exists int, "schema" text, status text, internal_name text, PRIMARY KEY(tenant, name));
 
cqlsh> CREATE KEYSPACE user_default_tenant  WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };
 
</pre>
 

Latest revision as of 15:17, 6 January 2015

Local environment without CCM and Devstack

This page is outdated. Please check the latest documentation here https://magnetodb.readthedocs.org/en/latest/