Note: For some reason, neo4j may return ids as objects with values { low: <int>, high: <int> }.
The pertinent value is stored in the low attribute.
{
title: <string>,
isbn: [<string>],
date: <int>,
id: <int>,
authors: [
Note: For some reason, neo4j may return ids as objects with values { low: <int>, high: <int> }.
The pertinent value is stored in the low attribute.
{
title: <string>,
isbn: [<string>],
date: <int>,
id: <int>,
authors: [
First, start the cluster with docker-compose up -d. I commented out the section of docker-compose.yml adding the data acquisition image.
Clone the example repo git clone https://github.com/neo4j-examples/neo4j-movies-template.git
Get the container id with docker ps and copy the csv over with docker cp csv <container_id>:/var/lib/neo4j/csv
Then, get a shell in the docker container with docker exec -it <container_id> /bin/bash
Now, you can execute the commands found on the Project README.
| #!/bin/bash | |
| # Make sure you source this in rc | |
| gh(){ | |
| local folder="/home/dylan/projects/github" \ | |
| archive="/home/dylan/projects/archive" \ | |
| regex="[a-zA-Z]+[a-zA-Z0-9_-]*" \ | |
| USERNAME="dmadisetti" \ | |
| # Deal with projects |