You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Khoj uses the `pgvector` package to store embeddings of your index in a Postgres database. To use this, you need to have Postgres installed.
65
65
66
-
<TabsgroupId="operating-systems">
66
+
<TabsgroupId="operating-systems"queryString="os">
67
67
<TabItemvalue="macos"label="MacOS">
68
68
Install [Postgres.app](https://postgresapp.com/). This comes pre-installed with `pgvector` and relevant dependencies.
69
69
</TabItem>
70
-
<TabItemvalue="win"label="Windows">
70
+
<TabItemvalue="windows"label="Windows">
71
71
1. Use the [recommended installer](https://www.postgresql.org/download/windows/).
72
72
2. Follow instructions to [Install PgVector](https://github.com/pgvector/pgvector#windows) in case you need to manually install it. Windows support is experimental for pgvector currently, so we recommend using Docker. Refer to Windows Installation Notes below if there are errors.
73
73
</TabItem>
74
-
<TabItemvalue="unix"label="Linux">
74
+
<TabItemvalue="linux"label="Linux">
75
75
From [official instructions](https://wiki.postgresql.org/wiki/Apt)
76
76
</TabItem>
77
77
<TabItemvalue="source"label="From Source">
@@ -84,18 +84,18 @@ Install [Postgres.app](https://postgresapp.com/). This comes pre-installed with
84
84
85
85
Make sure to update your environment variables to match your Postgres configuration if you're using a different name. The default values should work for most people. When prompted for a password, you can use the default password `postgres`, or configure it to your preference. Make sure to set the environment variable `POSTGRES_PASSWORD` to the same value as the password you set here.
Copy file name to clipboardExpand all lines: documentation/docs/get-started/setup.mdx
+12-12
Original file line number
Diff line number
Diff line change
@@ -48,16 +48,16 @@ Khoj should now be running at http://localhost:42110! You can see the web UI in
48
48
49
49
Khoj uses Postgres DB for all server configuration and to scale to multi-user setups. It uses the pgvector package in Postgres to manage your document embeddings. Both Postgres and pgvector need to be installed for Khoj to work.
50
50
51
-
<TabsgroupId="operating-systems">
51
+
<TabsgroupId="operating-systems"queryString="os">
52
52
<TabItemvalue="macos"label="MacOS">
53
53
Install [Postgres.app](https://postgresapp.com/). This comes pre-installed with `pgvector` and relevant dependencies.
54
54
</TabItem>
55
-
<TabItemvalue="win"label="Windows">
55
+
<TabItemvalue="windows"label="Windows">
56
56
For detailed instructions and troubleshooting, see [this section](/contributing/development#2-postgres-installation--setup).
57
57
1. Use the [recommended installer](https://www.postgresql.org/download/windows/).
58
58
2. Follow instructions to [Install PgVector](https://github.com/pgvector/pgvector#windows) in case you need to manually install it. Windows support is experimental for pgvector currently, so we recommend using Docker.
59
59
</TabItem>
60
-
<TabItemvalue="unix"label="Linux">
60
+
<TabItemvalue="linux"label="Linux">
61
61
From [official instructions](https://wiki.postgresql.org/wiki/Apt)
62
62
</TabItem>
63
63
<TabItemvalue="source"label="From Source">
@@ -70,18 +70,18 @@ Install [Postgres.app](https://postgresapp.com/). This comes pre-installed with
70
70
71
71
Make sure to update your environment variables to match your Postgres configuration if you're using a different name. The default values should work for most people. When prompted for a password, you can use the default password `postgres`, or configure it to your preference. Make sure to set the environment variable `POSTGRES_PASSWORD` to the same value as the password you set here.
0 commit comments