Re: Help needed! Configure janusgraph-1.0.0-docker (either rebuild from base or docker compose with env variable setting) to use ConfigurationManagementGraph, and then initialize it with own graph & schema

Yingjie Li

To report back, If I directly use janusgraph-1.0.0-rc local install,
after starting the server with  ./bin/ start conf/gremlin-server/gremlin-server-configuration.yaml
i can create graph use ConfigureGraphFactory, and initize it with my own schema with composite and mxied index. 

To be able to traveral, I need to restart the server. then I can do the followings sucessfully: 

gremlin> :remote connect tinkerpop.server conf/remote.yaml session

08:41:02 INFO  com.jcabi.log.Logger.infoForced - 0 attributes loaded from 328 stream(s) in 56ms, 104 saved, 5165 ignored: []

08:41:03 INFO  org.apache.tinkerpop.gremlin.driver.Connection.<init> - Created new connection for ws://localhost:8182/gremlin

08:41:03 INFO  org.apache.tinkerpop.gremlin.driver.ConnectionPool.<init> - Opening connection pool on Host{address=localhost/, hostUri=ws://localhost:8182/gremlin} with core size of 1

==>Configured localhost/[e732c251-4d85-4a3e-89b6-f5c8db565b47]

gremlin> :remote console

==>All scripts will now be sent to Gremlin Server - [localhost/]-[e732c251-4d85-4a3e-89b6-f5c8db565b47] - type ':remote console' to return to local mode

gremlin> ConfiguredGraphFactory.getGraphNames()



gremlin> graph2_traversal.V().count()


gremlin> graph1_traversal.V().count()



But I still will need to know how to use the docker unless there is no choice but to build the docker from source code.



Join { to automatically receive all group messages.