Skip to content

skaiworldwide-oss/AGViewer

Repository files navigation

AgViewer

Web-based user interface that provides visualization of graph data stored in an AgensGraph database.

This is a sub-project of AgensGraph

Recommended Node Version & install module

  • Node version - 14.16.0
  • Node Module - pm2

Install latest pm2 with :

npm i pm2

pm2 is an NPM module to run the project in production mode.

Installing AgViewer

Extract the release .zip or .tar.gz package into your desired directory.

From the commandline, navigate to the directory agv-package.

  • Install the required node modules using:
npm run setup

How to start using AgViewer

AgViewer is a graphical user interface for AgensGraph, so it needs an AgensGraph server running on the background.

Tipically, this is done with the command

ag_ctl start [-D /path/created/by/initdb]

For the other settings or usage instructions, please follow AgensGraph's documentation.

Running AgViewer

  • Run AgViewer in production environment using :
pm2 start ecosystem.config.js --env release

This will start AgViewer on http://localhost:3000 if port 3000 is free.

To stop the process use the commands:

pm2 stop ag-viewer-release 
pm2 delete ag-viewer-release

Connect AgViewer to AgensGraph Database

Standard Connection Settings

  • Database type: AgensGraph
  • Connect URL : 127.0.0.1
  • Connect Port : 5432

Using the Docker image:

  • Pulling the image:
docker pull skaiworldwide/agviewer
  • Run the container:
docker run --name agviewer -p 3000:3000 -d skaiworldwide/agviewer

Then open the URL 127.0.0.1:3000 on your browser.

Tip: if your AgensGraph server is running on your host machine, the URL to connect to it should be "host.docker.internal".

For developers:

Fork this repository, then clone your fork

## install node modules
npm run setup
## start the development environment
npm run start

About

Graph visualization tool for the Agens family.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 12

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy