This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 4b29b5f361bf04cde9a4533db3cf78052c4f31ac Author: Stephen Mallette <[email protected]> AuthorDate: Thu Jul 23 17:16:15 2026 +0000 Add server-start prerequisite to Connecting via Console section The Connecting via Console section shows traversals against the modern toy graph but never explains that a compatible Gremlin Server must be running first. Add a prerequisite pointing readers to start the server with conf/gremlin-server-modern.yaml, cross-link the Starting Gremlin Server section, and note that other configurations serve a different or empty graph so the examples would not return the results shown. Assisted-by: Kiro:claude-opus-4.8 --- docs/src/reference/gremlin-applications.asciidoc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/src/reference/gremlin-applications.asciidoc b/docs/src/reference/gremlin-applications.asciidoc index 771dc2631d..cf88e2f40d 100644 --- a/docs/src/reference/gremlin-applications.asciidoc +++ b/docs/src/reference/gremlin-applications.asciidoc @@ -654,8 +654,19 @@ and details in the <<gremlin-drivers-variants,Gremlin Drivers and Variants>> Sec [[connecting-via-console]] === Connecting via Console -With Gremlin Server running it is now possible to issue some scripts to it for processing. Start Gremlin Console as -follows: +Gremlin Console can be used to send remote traversals to a running Gremlin Server, so a compatible server must be +started first. The examples in this section query the "modern" toy graph (i.e. vertices such as "marko", "vadas" and +"lop"), which is served by the `conf/gremlin-server-modern.yaml` configuration that is packaged with the Gremlin Server +distribution. Start Gremlin Server with that configuration as described in <<starting-gremlin-server,Starting Gremlin +Server>>: + +[source,text] +bin/gremlin-server.sh conf/gremlin-server-modern.yaml + +NOTE: Starting Gremlin Server with a different configuration (such as the default) serves a different or empty graph, in +which case the traversals shown below will not return the results demonstrated here. + +With the server running, start Gremlin Console as follows: [source,text] ----
