NeoCpp
|
Before we begin, we need to build our dependencies and then build the project.
The build_deps.sh script should allow for automatic resolution of dependencies. Run the following command from the main folder
cd scripts/linux/deb/ && sudo ./build_deps.sh
The build_deps.sh script should allow for automatic resolution of dependencies.
Before using the script, you will need to ensure that you have gcc version 5 or greater installed (By default, CentOS comes with gcc 4.8):
gcc --version
If you do not see version 5 or above, you can likely use the devtoolset to get the latest one:
sudo yum install centos-release-scl sudo yum install devtoolset-7-gcc* scl enable devtoolset-7 bash which gcc gcc --version
Then, run the following commands from within the main folder to resolve the other dependencies
cd scripts/linux/rhel/ && sudo ./build_deps.sh
Please see instructions at https://github.com/cleishm/libneo4j-client.
The project can be installed on linux systems with:
sudo make install
We can uninstall the libraries with:
sudo make uninstall
Run the following to build the library test executable.
make tests
The executable can be found under the test folder, it accepts a single command line argument which is the address of the Neo4j instance to connect to. By default, it will connect to the default Neo4j port on localhost.
Please continue on to the Use section of the documentation to see example uses of the library.