We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0eb3cc commit dbb7195Copy full SHA for dbb7195
scripts/init/postgresql/init-pgvector.sh
@@ -0,0 +1,12 @@
1
+#!/bin/bash
2
+
3
+init-pgvector() {
4
+ # ref: https://github.com/pgvector/pgvector?tab=readme-ov-file#linux-and-mac
5
+ cd /tmp
6
+ git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git
7
+ cd pgvector
8
+ make
9
+ make install # may need sudo
10
+}
11
12
+init-pgvector
scripts/init/init-postgres.sh scripts/init/postgresql/init-super-user.sh
@@ -36,15 +36,4 @@ init-postgres-user() {
36
}
37
38
39
-init-pgvector() {
40
- # ref: https://github.com/pgvector/pgvector?tab=readme-ov-file#linux-and-mac
41
- cd /tmp
42
- git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git
43
- cd pgvector
44
- make
45
- make install # may need sudo
46
-}
47
-
48
49
init-postgres-user
50
-init-pgvector
scripts/init/init-pgvector.ts scripts/init/postgresql/test-pgvector.ts
0 commit comments