Skip to content

Commit 94ff1a8

Browse files
committed
fix: enable script to launch from any folder
1 parent bcf5694 commit 94ff1a8

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.qdrant-initialized
2+
.venv/
3+
storage/
4+

db/qdrant/launch_qdrant.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
#!/bin/bash
22

3-
# Launch Qdrant as a standalone server without telemetry
4-
./qdrant --disable-telemetry
3+
# Get the absolute path to the script directory
4+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
5+
6+
# Launch Qdrant binary from the same directory as the script
7+
"$SCRIPT_DIR/qdrant" --disable-telemetry
8+

0 commit comments

Comments
 (0)