Created
September 17, 2021 19:51
-
-
Save cj2001/9321ff16672921e1c197b67336f97f19 to your computer and use it in GitHub Desktop.
Using neo4j-admin tool to populate a database (with Docker)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v $HOME/graph_data/data:/data -v $HOME/graph_data/gameofthrones:/var/lib/neo4j/import neo4j:latest bin/neo4j-admin import --nodes=import/got-s1-nodes.csv --relationships=import/got-s1-edges.csv | |
&& | |
docker run -p7474:7474 -p7687:7687 -v $HOME/graph_data/data:/data -v $HOME/graph_data/gameofthrones:/var/lib/neo4j/import --env NEO4J_AUTH=neo4j/test neo4j:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment