Skip to content

Commit

Permalink
OGM-1418 Fix README.md about how to run the tests on a Neo4j server
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Mar 12, 2018
1 parent c919e91 commit bea69a6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,14 @@ prior to running the tests:
For running the tests in the _neo4j_ and _integrationtest/neo4j_ modules, by default the
embedded Neo4j configuration is used.

If you want to run the tests on a remote server, you need to specify the profile `neo4j-remote`
Hibernate OGM can connect to a Neo4j server remotely via the Bolt protocol or via HTTP.
These tests are not executed by default, you can run them using the following commands:

mvn clean install -s settings-example.xml -Pneo4j-remote
mvn clean install -s settings-example.xml -Pneo4j-http

or

mvn clean install -s settings-example.xml -Pneo4j-bolt

This assumes Neo4j to be installed on `localhost`, using the default port and no authentication.
If you work with different settings, configure the required properties in hibernate.properties
Expand Down

0 comments on commit bea69a6

Please sign in to comment.