WinS: 3. Install Graphlytic

Install Graphlytic

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

Configure Graphlytic

Graphlytic's configuration is stored in the "conf/graphlytic.conf" file. Default configuration is as follows:

# where Graphlytic stores its data
main.dataDir=../data/
# where Graphlytic stores log files
main.logDir=../data/logs/
# where Graphlytic stores external widgets
main.widgetsDir=../widgets/
# where Graphlytic stores external icons
main.iconsDir=../icons/
 
# login page logo title
site.logo.title=Graphlytic
 
#HSQLDB schema name
hsql.schema=GRAPHLYTIC
 
# Bolt connection to Neo4j
neo4j.connector.bolt=bolt://localhost:7687
neo4j.connector.username=neo4j
neo4j.connector.password=admin
#encryption of the connection to DB. Neo4j 4 requires ssl to be explicitly enabled and configured. It does not accept default self-signed Neo4j 3 certificates.
neo4j.connector.encrypted=false

Edit configuration file "graphlytic.bat" to use HTTP or HTTPS (or both) for connecting to the Graphlytic web application. This is an optional step (default config is HTTP and HTTPS both enabled).

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

Install Windows Service

In order to correctly register Graphlytic as a Windows Service go to the Graphlytic HOME directory (e.g. "c:\graphlytic") and run the graphlytic_service_installer.exe as an administrator and with proper arguments. Example:

graphlytic_service_installer.exe INSTALL "bat=c:/<GRAPHLYTIC_HOME>/graphlytic.bat" "log=c:/<GRAPHLYTIC_HOME>/logs/win-service.log"

Arguments:

  • first argument can be INSTALL or UNINSTALL

  • if you are running the INSTALL command there are two other arguments (please use full paths and place the parameters in quotes like shown in the example above):

    • bat - location of the graphlytic.bat file which is used for starting the app

    • log - location and file name where the Windows Service logs will be stored

Prerequisities:

  • Neo4j Windows Service has to be already installed prior to installing Graphlytic Windows Service

  • the directory defined in the "log" argument has to already exist before you run the installation