DGraph4S is a Scala API for the DGraph graph database, it uses GRPC to communicate with the DGraph database.
Requires Python 2. PB.pythonExe := "C:\Python27\Python.exe"
Ensure that DGraph is running and it exposes port 9080 which is the default port for GRPC communication. Run com.dgraph4s.TestConnection
https://hub.docker.com/r/dgraph/dgraph/
docker pull dgraph/dgraph
mkdir -p dgraph
docker run -it -p 8080:8080 -p 9080:9080 -v dgraph:/dgraph --name dgraph dgraph/dgraph dgraph --bindall=true --memory_mb 2048
The files in src/main/protobuf/ contain the definition of the Protocol Buffers for DGraph GRPC communications, you may need to manually update these files if they change, refer to the README.md in that directory.
sbt publishLocal
In your build.sbt
libraryDependencies += "dgraph4s" %% "dgraph4s" % "0.1"