Skip to content

Instantly share code, notes, and snippets.

@vallettea
Created March 10, 2014 22:29
Show Gist options
  • Select an option

  • Save vallettea/9475856 to your computer and use it in GitHub Desktop.

Select an option

Save vallettea/9475856 to your computer and use it in GitHub Desktop.
wget http://s3.thinkaurelius.com/downloads/titan/titan-all-0.4.2.zip
unzip titan-all-0.4.2.zip
cd titan-all-0.4.2
bin/gremlin.sh
conf = new BaseConfiguration()
conf.setProperty('storage.backend', 'persistit')
conf.setProperty('storage.directory', '/tmp/titangraph')
g=TitanFactory.open(conf)
g.V.count()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment