【发布时间】:2014-09-13 15:32:39
【问题描述】:
我已经下载了titan-server-0.4.4.zip 并解压并运行:
$ bin/titan.sh start
这开始于Cassandra 和Titan + Rexster。现在,我想为我的应用程序(比如“ggg”)创建一个新图形,我想从 Python 源代码中的 Bulbs 创建它。这是我在 python2.7 控制台中尝试的:
>>> from bulbs.titan import Graph, Config
>>> config = Config('/home/kevin/ggg')
>>> g = Graph(config) # Hoping that this will create all the graph related files
现在,我转到 rexster 网络界面,我只能看到一个名为 graph 的图表
{"version":"2.4.0","name":"Rexster: A Graph Server","graphs":["graph"],
"queryTime":0.567623,"upTime":"0[d]:05[h]:43[m]:05[s]"}
我做错了什么或遗漏了什么?我尝试查看文档,但找不到任何对我有帮助的东西。
感谢您的宝贵时间。
【问题讨论】:
-
这对你有用吗?
-
@espeed 两个答案都有帮助。有没有办法合并答案或者我应该接受任何一个答案?
标签: cassandra titan tinkerpop bulbs rexster