Skip to content

Commit

Permalink
Update bolt_support.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gkorland authored Apr 23, 2024
1 parent 62e0966 commit 3a7dee7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bolt_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ nav_order: 10
description: "Connecting to FalkorDB using BOLT protocol."
---

## [EXPERIMENTAL] BOLT protocol support for FalkorDB
# [EXPERIMENTAL] BOLT protocol support for FalkorDB

FalkorDB provides an experimental support for querying using BOLT drivers.
We intend to extend the support in the future versions, the current version is not meant to be used in production.
This guide will walk you through the process of connecting to FalkorDB using the [BOLT protocol](https://en.wikipedia.org/wiki/Bolt_(network_protocol))

### Prerequisites
## Prerequisites

Before you begin, ensure that you have a FalkorDB instance up and running.
You can use our Docker image for this purpose.
Expand All @@ -19,7 +19,7 @@ You can use our Docker image for this purpose.
docker run -p 6379:6379 -p 7678:7678 -p 3000:3000 -it -e REDIS_ARGS="--requirepass falkordb" -e FALKORDB_ARGS="BOLT_PORT 7678" --rm falkordb/falkordb:latest
```

#### Ports
### Ports
- 6379 - FalkorDB
- 7678 - Bolt
- 3000 - Falkor-Browser
Expand All @@ -30,7 +30,7 @@ Additionally, install the necessary BOLT drivers:
pip install neo4j
```

### Step 1: Create a `main.py` File
## Step 1: Create a `main.py` File

Create a main.py file with the following content and adjust the connection uri, authentication parameters and database name according to your FalkorDB setup. This script demonstrates a simple query that returns the numbers from 1 to 10. Customize the query as needed for your specific use case.

Expand All @@ -48,7 +48,7 @@ for record in records:
print(record["i"])
```

### Step 2: Run the script
## Step 2: Run the script

Execute the script by running the following command in your terminal:

Expand Down

0 comments on commit 3a7dee7

Please sign in to comment.