DEV Community

Sadeed Ahmad
Sadeed Ahmad

Posted on

AGE Viewer Installation Guide

Age-viewer is a web app that allows the user to visualize data stored in your graph database.

Solving Dependencies

The pre-requisites to run the web app are nodejs and npm.

sudo apt install nodejs npm
or
# recommended
nvm install 14.16.0
Enter fullscreen mode Exit fullscreen mode

Downloading and Cloning

After installing the necessary dependencies, we need to download and clone Age-viewer.

git clone https://github.com/apache/age-viewer.git
Enter fullscreen mode Exit fullscreen mode

Kickstart AGE-Viewer

Start the Age-viewer directory set up the environment using the following command:

cd age-viewer
npm run setup
npm run start
Enter fullscreen mode Exit fullscreen mode

Viewer will now be running on the localhost. Now connect the viewer with the database server. Enter the details required to login.

# address (default : localhost)
url: server_url;

# port_num (default 5432)
port: port_num;

# username for the database
username: username;

# password for the user
pass: password;

# database name you wanna connect to
dbname: demodb;
Enter fullscreen mode Exit fullscreen mode

AGE-Viewer is good to go.

Top comments (0)