Mac: 3. Install Graphlytic

Install Graphlytic

Install Graphlytic as a console application

Create directory structure:

$ mkdir /Users/Shared/Graphlytic

Copy installation file and unpack it:

$ cp ~/Downloads/graphlytic-<version>.tar.gz /Users/Shared/Graphlytic
$ cd /Users/Shared/Graphlytic
$ tar zxvf graphlytic-<version>.tar.gz

Graphlytic's configuration is stored in the "conf/graphlytic.conf" file.

To change Graphlytic's default configuration run this command (this is a optional step):

vi /Users/Shared/Graphlytic/conf/graphlytic.conf

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

To change the starting script's configuration run this command (this is an optional step):

$ vi /Users/Shared/Graphlytic/bin/graphlyticc

Edit the starting script file 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).

#!/bin/sh
 
# use this script to start GL from console
 
# disable or enable HTTP/HTTPS. To disable comment od remove line
#HTTP_PORT=8080
HTTPS_PORT=8443