-
Notifications
You must be signed in to change notification settings - Fork 35
Setup Gremlin Console
To get started with Unipop using Gremlin-Console first you need to download it from Download.
Then after extracting you should start the console using bin/gremlin.sh
or bin\gremlin.bat
.
Then we can just install the required Unipop modules from the console itself by executing
:install com.github.unipop-graph unipop-elastic 0.2.1
or
:install com.github.unipop-graph unipop-jdbc 0.2.1
or
:install com.github.unipop-graph unipop-rest 0.2.1
depending on which modules you require.
This will install both the module dependencies and the Unipop gremlin plugin.
Then after restarting the console we can execute :plugin use unipop
to enable the Unipop plugin.
After we enable the plugin its pretty simple to start using Unipop, you simply open a new graph instance by executing
conf = getConfiguration() // create any Apache configuration you prefer
graph = UniGraph.open(conf) // the configuration should have a providers property pointing to your mapping folder
g = graph.traversal()
and start executing gremlin queries.