Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: 新增 JanusGraph 数据库 #310

Merged
merged 8 commits into from
May 30, 2023
Merged

Chore: 新增 JanusGraph 数据库 #310

merged 8 commits into from
May 30, 2023

Conversation

pomelo-nwu
Copy link
Member

基本结构完成,支持通过 Gremlin 语句查询图数据库

image
image

TODO

  • 完成 SubGraph,Schema 的接口查询。
  • 完成 边数据 的整理

对接 JanusGraph 图数据库

安装

官方文档还是写的很清晰的:https://docs.janusgraph.org/ 下面步骤是简化版的

  • step1: 通过镜像安装
docker pull janusgraph/janusgraph:latest
  • step2: 启动 JanusGraph 服务
docker run -it -p 8182:8182 janusgraph/janusgraph

启动代理服务

因为一些原因,Gremlin 官方团队并没有支持 gremlin-javascript 在 浏览器端的运行 ,详见这个讨论:apache/tinkerpop#1070

因此在官方支持之前(准确来讲可能需要我们自己去提 PR),我们还是走 node 服务代理转发

cd packages/gi-httpservice
npm run dev

@pomelo-nwu
Copy link
Member Author

closes: #308

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant