kirill-stepanishin commented on code in PR #3213: URL: https://github.com/apache/tinkerpop/pull/3213#discussion_r2371330137
########## docs/src/reference/gremlin-variants.asciidoc: ########## @@ -2092,29 +2165,54 @@ can be found in GitHub link:https://github.com/apache/tinkerpop/tree/x.y.z/greml and are designed to connect to a running <<gremlin-server,Gremlin Server>> configured with the `conf/gremlin-server.yaml` and `conf/gremlin-server-modern.yaml` files as included with the standard release packaging. -To run the examples, first download an image of Gremlin Server from Docker Hub: +There are two ways to run Gremlin Server for these examples: + +- *Running locally* – see the <<gremlin-server,Gremlin Server>> documentation. +- *Running with Docker*: + [source,shell] ---- docker pull tinkerpop/gremlin-server ---- -The remote connection and basic Gremlin examples can be run on a clean server, which uses the default configuration file -`conf/gremlin-server.yaml`. To start a clean server, launch a new container with `docker run`: +Clean server: + [source,shell] ---- docker run -d -p 8182:8182 tinkerpop/gremlin-server ---- -The traversal examples should be run on a server configured to start with the Modern toy graph, using `conf/gremlin-server-modern.yaml`. -To start a server with the Modern graph preloaded, launch a new container with `docker run`: +Modern toy graph server: + [source,shell] ---- docker run -d -p 8182:8182 tinkerpop/gremlin-server conf/gremlin-server-modern.yaml ---- -Each example can now be run with the following command in their respective project directories: +==== Prerequisites +- .NET 8 SDK installed + +Navigate to the examples directory: + +[source,shell] +---- +cd gremlin-dotnet/Examples +---- + +For each example project, navigate to its folder, then build and run: Review Comment: It works, applied this simplification to the instructions. Thank you -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
