Setup Deep Dive: Neo4j Wizard
This guide explains exactly what the cgc neo4j setup wizard does behind the scenes.
🪄 cgc neo4j setup
Purpose: Configures the Storage backend.
What it does (Docker Mode):
- Checks if
dockeris available. - Runs
docker pull neo4j:latest. - Runs a container mapping ports
7474(HTTP) and7687(Bolt). - Sets a default password (
codegraphcontext).
What it does (Native Mode):
- Checks for
apt(Debian/Ubuntu). - Adds the Neo4j repository keys.
- Runs
apt install neo4j.
Failure Modes:
- Port Conflict: If port 7687 is already used, the container will exit.
- No Docker: Steps will fail immediately.