aboutsummaryrefslogtreecommitdiffstats
path: root/distribution/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'distribution/README.md')
-rw-r--r--distribution/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/distribution/README.md b/distribution/README.md
new file mode 100644
index 00000000..cced66dc
--- /dev/null
+++ b/distribution/README.md
@@ -0,0 +1,12 @@
+# Docker Setup
+---------------
+
+```bash
+# Start the Container
+docker run -d --name cassandra_music -v $PWD/data:/var/lib/cassandra cassandra_music:3.0
+# Load cql script into DB
+docker run -it --link cassandra1:cassandra -v $PWD/music.cql:/music.cql cassandra_music1:3.0 cqlsh -u cassandra -p cassandra cassandra1 -f music.cql
+# Start cqlsh
+docker run -it --link cassandra_music:cassandra cassandra_music:3.0 cqlsh -u cassandra -p cassandra cassandra1
+
+```