Database Reference
In-Depth Information
2. Ensure the unmanaged extension (to be installed in the upcoming steps) has
been registered. This can be done by uncommenting and modifying the fol-
lowing property value as shown here:
org.neo4j.server.thirdparty_jaxrs_classes=com.manning.neo4jia.chapter
10.unmanagedext=/n4jia/unmanaged
5
. Provided you have performed at least one successful general
mvn clean in-
stall
, a jar file containing the server plugins and extensions will have been gener-
ated here:
<<N4JIA_SAMPLE_HOME>>/chapter10/server/target/chapter-
10-server-1.0-
SNAPSHOT.jar. Copy this file to the server's plugin directory located
here: <<NEO4J_HOME>>/plugins.
6
. Create and export a
NEO4J_HOME
variable within your terminal window, as this
will be expected by the scripts. Do this by executing the following command:
export NEO4J_HOME=<<NEO4J_HOME>>
7
. Change to the base directory from which the bash scripts will be run:
<<N4JIA_SAMPLE_HOME>>/chapter10/performance-demos-server/src/test/
scripts/bash.
8
. Seed the performance database by executing the following script from within the
bash directory:
./seed_performance_db.sh
You should now be ready to run the bash scripts.
9
. Ensure that you're still in the base directory from which the bash scripts will be
run:
<<N4JIA_SAMPLE_HOME>>/chapter10/performance-demos-server/
src/test/
scripts/bash.
10
. Run the bash-based tests: