Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.1 KB

README.md

File metadata and controls

29 lines (22 loc) · 1.1 KB

graph-dev

Development environment for working with graph databases in Gremlin

Basic usage

git clone https://github.com/brainsqueeze/graph-dev.git

To start the gremlin-server and notebook environment simply run

docker-compose up --build

Connecting from Linux host

For Windows or MacOS based hosts then host.docker.internal is sufficient for the hostname to connect to gremlin-server. If the host machine is Linux then please change host in the gremlin connection to the internal IP address, which can be found by running

docker inspect $(docker ps --filter "name=graph-dev_server" -aq)

Custom data

If you would like to run your own graph then you can override the docker compose settings with docker-compose.data.yaml. Please replace hostPathToGraphsDir with the absolute path to the folder containing graphml files.

To start simply run

docker-compose -f docker-compose.yaml -f docker-compose.data.yaml up --build

and then use the custom_data notebook in Jupyter to get started.