A command line shell where you can execute Cypher against an instance of Neo4j
Switch branches/tags
neo4j-3.5.0-alpha09 neo4j-3.5.0-alpha08 neo4j-3.5.0-alpha07 neo4j-3.5.0-alpha06 neo4j-3.5.0-alpha05 neo4j-3.5.0-alpha04 neo4j-3.5.0-alpha02 neo4j-3.5.0-alpha01 neo4j-3.4.7 neo4j-3.4.6 neo4j-3.4.5 neo4j-3.4.4 neo4j-3.4.3 neo4j-3.4.2 neo4j-3.4.1 neo4j-3.4.0 neo4j-3.4.0-rc02 neo4j-3.4.0-rc01 neo4j-3.4.0-beta02 neo4j-3.4.0-beta01 neo4j-3.4.0-alpha09 neo4j-3.4.0-alpha08 neo4j-3.4.0-alpha07 neo4j-3.4.0-alpha06 neo4j-3.4.0-alpha05 neo4j-3.4.0-alpha04 neo4j-3.4.0-alpha03 neo4j-3.4.0-alpha02 neo4j-3.4.0-alpha01 neo4j-3.3.7 neo4j-3.3.6 neo4j-3.3.5 neo4j-3.3.4 neo4j-3.3.3 neo4j-3.3.2 neo4j-3.3.1 neo4j-3.3.0 neo4j-3.3.0-rc1 neo4j-3.3.0-beta02 neo4j-3.3.0-beta01 neo4j-3.3.0-alpha07 neo4j-3.3.0-alpha06 neo4j-3.3.0-alpha05 neo4j-3.3.0-alpha04 neo4j-3.3.0-alpha03 neo4j-3.3.0-alpha02 neo4j-3.3.0-alpha01 neo4j-3.2.12 neo4j-3.2.11 neo4j-3.2.10 neo4j-3.2.9 neo4j-3.2.8 neo4j-3.2.7 neo4j-3.2.6 neo4j-3.2.5 neo4j-3.2.4 neo4j-3.2.3 neo4j-3.2.2 neo4j-3.2.1 neo4j-3.2.0 neo4j-3.2.0-rc3 neo4j-3.2.0-rc2 neo4j-3.2.0-rc1 neo4j-3.2.0-alpha08 neo4j-3.2.0-alpha07 neo4j-3.2.0-alpha06 neo4j-3.2.0-alpha05 neo4j-3.2.0-alpha04 neo4j-3.2.0-alpha03 neo4j-3.2.0-alpha02 neo4j-3.2.0-alpha01 neo4j-3.1.9 neo4j-3.1.8 neo4j-3.1.7 neo4j-3.1.6 neo4j-3.1.5 neo4j-3.1.4 neo4j-3.1.3 neo4j-3.1.2 neo4j-3.1.1 neo4j-3.1.0 neo4j-3.1.0-RC1 neo4j-3.1.0-M13-beta3 neo4j-3.1.0-M12-beta2 neo4j-3.1.0-M10 neo4j-3.1.0-M09 neo4j-3.1.0-M08 neo4j-3.1.0-M07 neo4j-3.1.0-M06 neo4j-3.1.0-M05 neo4j-3.1.0-BETA1 1.1.5 1.1.4 1.1.4-rc1 1.1.4-beta01 1.1.4-alpha01 1.1.3 1.1.3-rc1 1.1.3-RC1 1.1.2
Nothing to show
Clone or download
Latest commit 3beb5e3 Sep 10, 2018

README.md

How to build

Use make help (gradlew tasks) to list possible tasks. But you probably want either

  • make build (gradlew installDist) which will build an uber-jar and runnable script for you at cypher-shell/build/install/cypher-shell

  • make zip which builds an uber-jar with runnable script and packages it up for you as: out/cypher-shell.zip Note that this will run a test on the script which requires a instance of neo4j (see Integration tests below).

  • make untested-zip which builds the same zip file but doesn't test it. It will be placed in tmp/cypher-shell.zip.

How to run, the fast way

This clears any previously known neo4j hosts, starts a throw-away instance of neo4j, and connects to it.

rm -rf ~/.neo4j/known_hosts
docker run --detach -p 7687:7687 -e NEO4J_AUTH=none neo4j:3.0
make run

How to build packages

Packages require you to have pandoc available. It should be available in your local package manager.

Then just do

make debian rpm

To test the packages you need to have Docker installed:

make debian-test rpm-test

To get the versions correct when building packages you can override some variables, for example with:

make debian pkgversion=2

See make info for a list of variables and what the results will be.

Development

Integration tests

Pre Requisites for running integration tests

Neo4j server with bolt driver configured.

If authentication is required, it is assumed to be username neo4j and password neo.

To run

Integration tests are usually skipped when you run make test (gradlew test)

Use make integration-test (gradlew integrationTest) to specifically run integration tests.

How to run the fast way

This clears any previously known neo4j hosts, starts a throw-away instance of neo4j, and runs the integration tests against it.

rm -rf ~/.neo4j/known_hosts
docker run --detach -p 7687:7687 -e NEO4J_AUTH=none neo4j:3.0
make integration-test