xpadro / spring-neo4j

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-neo4j

neo4j database

Launch neo4j:

docker run \
--name testneo4j \
-p7474:7474 -p7687:7687 \
-d \
-v $HOME/neo4j/data:/data \
-v $HOME/neo4j/logs:/logs \
-v $HOME/neo4j/import:/var/lib/neo4j/import \
-v $HOME/neo4j/plugins:/plugins \
--env NEO4J_AUTH=neo4j/test \
neo4j:latest

Access the neo4j instance:

> docker exec -it testneo4j bash

root@be28d91f5919:/var/lib/neo4j# cypher-shell -u neo4j -p test
Connected to Neo4j 4.0.0 at neo4j://localhost:7687 as user neo4j.
Type :help for a list of available commands or :exit to exit the shell.
Note that Cypher queries must end with a semicolon.
neo4j@neo4j>

About


Languages

Language:Java 100.0%