Skip to content

The Code Examples and Notebooks for The Practitioners Guide to Graph Data

Notifications You must be signed in to change notification settings

huckjane/graph-book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 

Repository files navigation

You have found the repository contains the data, loading scripts, and Studio Notebooks that accompany "The Practitioners Guide to Graph Data". We wrote this book and created these examples to be your guide in navigating the space between understanding your data as a graph and using your data as a graph.

 

Content Authors:

  1. Denise Gosnell
  2. Matthias Broecheler

Technical Editors:

  1. Alex Ott
  2. Lorina Poland
  3. Daniel Kuppitz

What is in this repository?

This repository contains Studio Notebooks, data, and loading scripts to follow the examples within Chapters 3 through 12 in The Practitioners Guide to Graph Data . The content is organized as follows:

  1. notebooks/: All DataStax Studio Notebooks for Chapters 3 through 12. These can be uploaded into DataStax Studio via the Studio Import Tool. (Directions below)
  2. data/ch_x: The data directory contains a folder per chapter. Within each folder, you will find the data and loading scripts to insert the data into DataStax Graph 6.8 via DataStax Bulk Loader.

The directions below detail how to get started.

Getting Started

You will need to download and configure two DataStax products to use this repository: DataStax Graph 6.8 with DataStax Studio and DataStax Bulk Loader

Setting Up DataStax Graph 6.8 via a tarball:

  1. Download our Linux distrubition of DataStax Graph 6.8 with DataStax Studio
  2. From your terminal, untar the distributions of DataStax Graph 6.8 and DataStax Studio
$ unzip graph-labs-20190912.zip 
$ tar -xvzf dse-6.8.0.20190911-LABS-bin.tar.gz
$ tar -xvzf datastax-studio-6.8.0.20190912-LABS.tar.gz
  1. Start DataStax Graph:
$ ./dse-6.8.0.20190911-LABS/bin/dse cassandra -s -g -k
  1. Start DataStax Studio:
$ ./datastax-studio-6.8.0.20190912-LABS/bin/server.sh
  1. (Optional) See the DataStax Documentation for any custom configurations of DataStax Graph or DataStax Studio. This is not necessary for using this repository of examples.

Setting up DataStax Bulk Loader via a tarball:

  1. Download our Linus distribution of DataStax Bulk Loader
  2. Untar the distribution: tar -xvzf dsbulk-1.4.1.tar.gz
  3. Make note of the path to the top level directory of DataStax Bulk Loader.
  4. (Optional) See the DataStax Documentation for any custom configurations of DataStax Bulk Loader. This is not necessary for using this repository of examples.

How to use this repository

  1. Clone this repository: git clone [email protected]:datastax/graph-book.git
  2. With DataStax Studio running, go to the DataStax Studio Home Page
  3. Upload the Chapter notebook you want to use via the Notebook Upload Tool
  4. Follow the directions in the Notebook!
  5. (Optional, Proactive Step): Set the DEFAULT_DSBULK_PATH variable in the data loading scripts to point to the install location of DataStax Bulk Loader. All loading scripts are located in data/ch_x/ch_x_load.sh

What to do next

  1. Let us know what you think on Twitter
  2. Leave our book a review on Amazon

About

The Code Examples and Notebooks for The Practitioners Guide to Graph Data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%