Win: 3. Install Graphlytic

1. Deploy plugin into Neo4j

Graphlytic requires some advanced features which are not delivered with Neo4j. There is plugin for Neo4j delivered with Graphlytic installation package. This plugin has to be copied into Neo4j.

Stop Neo4j if it is running. Copy file neo4j-gl-plugin.jar and into directory: <NEO4J_HOME>/plugins/.

To see what is the functionality of plugin see Architecture.

2. Install Graphlytic

You can install Graphlytic as a Windows service but we do not support this functionality now. Follow instructions how to install Graphlytic as a console application.

2.1. Install Graphlytic as a console application

Unzip Graphlytic installation file "graphlytic-<version>.zip" into home Graphlytic directory (for example: c:\graphlytic\)

3. Configure Graphlytic

Edit main configuration file "graphlytic.conf" to contains these lines:

# where Graphlytic stores its data
main.dataDir=../data/
# where Graphlytic stores external widgets
main.widgetsDir=../widgets/
 
# url for HTTP or HTTPS connection to Neo4j REST
# do not comment this line. HTTP/HTTPS connection is mandatory for communication with Graphlytic Neo4j plugin
# you can use HTTPS url to use SSL but you need import Neo4j certificate into Java default truststore
neo4j.connector.http=http://localhost:7474
# url for Bolt connection to Neo4j
# comment this line to disable Bolt protocol communication and HTTP/HTTPS will be used for all communication with Neo4j
neo4j.connector.bolt=bolt://localhost:7687
# username for Neo4j connection
neo4j.connector.username=neo4j
# password for Neo4j connection
neo4j.connector.password=enter_real_password_here

Edit configuration file "graphlytic.bat" to use HTTP or HTTPS or both:

@ECHO OFF
 
REM disable or enable HTTP/HTTPS. To disable comment or remove line
SET HTTP_PORT=8080
SET HTTPS_PORT=8443

You can set location of log directory. In script "graphlytic.bat" finf variable "GL_LOG" and set reqired value. Example:

SET GL_LOG=%GL_HOME%\data\logs\