Skip to content

populate neo4j locally #1289

Answered by mihai-sysbio
johaGL asked this question in Q&A
Jan 14, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hi @johaGL!

When installing Neo4j locally, I presume this is without Docker.
Based on your use-case, I believe it would be enough to have the data-generation and data-files repositories. This Readme is the optimal stating point. However, this will only generate the data in the correct format to be imported by Neo4j. The command to import the generated data into Neo4j is hidden here:

cypher-shell -u ${NEO4J_USERNAME} -p ${NEO4J_PASSWORD} --format plain --file import/import.cypher

where import.cypher is generated to contain the instructions to import all other generated CSV files. Feel free to define your own username and password; for us, those have to be variables that get used elsewhere…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@johaGL
Comment options

Answer selected by johaGL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants