/gremlin-scala-examples

Examples for different graph dbs

Primary LanguageScalaApache License 2.0Apache-2.0

logo Build Status Join the chat at https://gitter.im/mpollmeier/gremlin-scala

Gremlin-Scala examples

A collection of example projects and recipies for Gremlin-Scala that you can use as templates for your own tinkering.

Tinkergraph

Gremlin-Server

Demonstrate setup with a remote graph db.

OrientDB

Neo4j

Neo4j Bolt protocol

DSE graph

Note: to start DSE, first run: docker run --name dseg51 -p 9042:9042 -d luketillman/datastax-enterprise:5.1.1 -g To stop DSE, run docker stop dseg51. To start it again, run docker start dseg51.

Janusgraph

Sqlg

Note: to run PostgresSpec, first run docker run -e -d POSTGRESQL_PASSWORD=pass -p 9096:5432 postgres

Usage

First install jdk 8 and configure it to be your JAVA_HOME and in your path (check with echo $JAVA_HOME and java -version).

cd tinkergraph
sbt test

cd orientdb
sbt test

cd neo4j
sbt test

cd janusgraph
sbt test

cd sqlg
sbt testOnly H2Spec