Giter Club home page Giter Club logo

7d7w-neo4j's Introduction

7 Databases in 7 Weeks Neo4J Notes

As I go through the Neo4J chapter of Pragmatic Programmer's 7 Databases in 7 Weeks, I'm taking some notes to ensure that the book club members can all get set up and running effectively.

Notes on OS X setup for 7d7w Neo4J

Check Prerequisites
# Double check that your Java version is 7:
java -version
mvn -version

# Double check that homebrew is installed, up to date, and has no issues:
which brew
brew update
brew doctor
Install Neo4J 1.9.4 (not 2.0.x)

7d7w uses an older version of neo4j, which has the Gremlin console. Therefore, we'll need to install an older version using homebrew.

# See which versions of neo4j are in the homebrew history. We'll look for 1.9.4, which
# is the last version to support the Gremlin console.
cd $( brew --prefix )
brew versions neo4j

# Check out the 1.9.4 version of the of neo4j brew recipe and install neo4j
git checkout 8724154 Library/Formula/neo4j.rb
brew install neo4j

# Find the neo4j home directory and set NEO4J_HOME
brew info neo4j
export NEO4J_HOME=/usr/local/Cellar/neo4j/1.9.4

Known Issues

In the Gremlin DSL examples, you'll need to initialize the variable start, as reported in Pull Request #1 and #4:

The Freebase data for the chapter is no longer available as a simple TSV download. I.e. this returns a 404 error:

wget http://download.freebase.com/datadumps/latest/browse/film/performance.tsv

To work around this, first download an archived Freebase backup (unfortunately, from 2010):

wget https://archive.org/download/freebase-data-dump-2010-07-16/freebase-datadump-tsv.tar.bz2

7d7w-neo4j's People

Contributors

yoni avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.