commit | c40cdea8bd4501a9361ebc13521a4fb7857d7ce1 | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Thu Jul 13 09:17:22 2023 +0000 |
committer | GitHub <noreply@github.com> | Thu Jul 13 09:17:22 2023 +0000 |
tree | e87146da4e87cf79ac0dc37da3df9c60e0d16e43 | |
parent | 194ff0ebc5fb60cac2655ec65247dd4130372569 [diff] |
Bump semver from 5.7.1 to 5.7.2 Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. - [Release notes](https://github.com/npm/node-semver/releases) - [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md) - [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2) --- updated-dependencies: - dependency-name: semver dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Apache-Age Viewer is a web based user interface that provides visualization of graph data stored in a postgreSQL database with AGE extension. It is graph visualisation tool, for Apache AGE.
This is a sub-project of the Apache AGE project.
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, and hence is optional for getting started with setting up development environment for Age-Viewer
npm run setup
npm run start
This will start the age-viewer on http://localhost:3000 if port 3000 is free.
Build the front-end : npm run build-front
Build the back-end : npm run build-back
Start the project in production mode :
pm2 stop ag-viewer-develop pm2 delete ag-viewer-develop pm2 start ecosystem.config.js
To start using Age-Viewer we need to have a running postgreSQL database server with Apache Age Extension
Install docker in advance (https://www.docker.com/get-started), install the version compatible with your OS from the provided link.
Run Using Docker :
Get the docker image - docker pull apache/age
Create AGE docker container
docker run --name myPostgresDb -p 5455:5432 -e POSTGRES_USER=postgresUser \ -e POSTGRES_PASSWORD=postgresPW -e POSTGRES_DB=postgresDB -d apache/age
Docker variables | Description |
---|---|
--name | Assign a name to the container |
-p | Publish a container’s port(s) to the host |
-e | Set environment variables |
-d | Run container in background and print container ID |
To Get the running log of the docker container created - docker logs --follow myPostgresDb
To Get into postgreSQL Shell (There are two ways this can be done) -
docker exec -it myPostgresDb bash
psql -U postgresUser postgresDB
OR
psql -U postgresUser -d postgresDB -p 5455 -h localhost
and put in postgresPW
when prompted for password.After logging into postgreSQL shell follow the Post-Installation instruction to create a graph in the database.
Initial Connection Layout To Connect to postgreSQL server running from Docker Container
The following field is same as used to make the docker container specified above as flags.
Apache AGE Viewer is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.