专为快速分析和实时数据处理而优化的图数据库。它作为 PostgreSQL 的扩展提供。
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 setupnpm run start
This will start the age-viewer on http://localhost:3000 if port 3000 is free.
npm run build-front
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 :
docker pull apache/age
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 bashThen get into postgreSQL shell using - psql -U postgresUser postgresDB
OR
- Alternatively postgres shell can also be assessed directly (without getting into the docker shell) -
`` psql -U postgresUser -d postgresDB -p 5455 -h localhost``
and put in ``postgresPW`` when prompted for password.
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.
暂无开放 Issues,或尚未同步最近议题。