Skip to content

Instantly share code, notes, and snippets.

@brendannee
Created March 17, 2012 21:45
Show Gist options
  • Save brendannee/2065571 to your computer and use it in GitHub Desktop.
Save brendannee/2065571 to your computer and use it in GitHub Desktop.
neo4j attempts

#Installing neo4j Spatial Warning: None of this works

##Setup Linode ##Update packages $ sudo apt-get update ##Install dependencies $ sudo apt-get install git-core $ sudo apt-get install openjdk-6-jdk $ sudo apt-get install lsof ##Install Neo4j $ wget wget http://dist.neo4j.org/neo4j-community-1.7.M01-unix.tar.gz $ tar -xvzf neo4j-community-1.7.M01-unix.tar.gz $ bin/neo4j start

#Neo4j spatial
$ sudo apt-get install maven2 ##Download neo4j Spatial $ wget https://github.com/neo4j/spatial/zipball/0.7 $ unzip 0.7 ##Intall neo4j Spatial $ cd neo4j-spatial-73b7488 $ mvn install

python stuff

$ sudo apt-get install python-pip python-dev build-essential 
$ sudo pip install --upgrade pip 
$ sudo pip install --upgrade virtualenv 

ruby stuff

##Install jruby $ wget http://jruby.org.s3.amazonaws.com/downloads/1.6.7/jruby-bin-1.6.7.zip $ unzip jruby-bin-1.6.7.zip ##Add jruby to path $ PATH=$PATH:$HOME/jruby-1.6.7/bin #jruby ##Install neo4j-spatial.rb as a gem $ gem install neo4j-spatial ##Downgrade activesupport to avoid conflict $ gem install activesupport --version 3.1.3

Get examples from git

$ git clone https://github.com/craigtaverner/neo4j-spatial.rb.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment