knaxuslearn · build · ship

Projects / People you may know / Before you start

Before you start

You need Docker. Start Neo4j in a container, then open its shell:

docker run --name people-neo4j -d -p 7474:7474 -p 7687:7687 \
  -e NEO4J_AUTH=neo4j/knaxus-demo-pass neo4j:5
docker exec -it people-neo4j cypher-shell -u neo4j -p knaxus-demo-pass

The first start takes up to a minute. When you see the neo4j@neo4j> prompt, you are in. Every statement in Cypher ends with a semicolon. Keep the same shell open for the whole project.

Each step says what to look for in the result. Your ids, timings and plan details will differ a little.

Your timings and plan details may differ a little. The shape of the output is what matters.