From de0cee3f565d77a3148a18c1b5b71f1b6884e948 Mon Sep 17 00:00:00 2001 From: Fuegovic <32828263+fuegovic@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:32:32 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8Edocs:=20update=20meilisearch=20inst?= =?UTF-8?q?ruction=20(#1930)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔎docs: update meilisearch in mac_install.md Update the Meilisearch .env variables in `mac_install.md` * 🔎🐧 --- docs/install/installation/linux_install.md | 4 +++- docs/install/installation/mac_install.md | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/install/installation/linux_install.md b/docs/install/installation/linux_install.md index 398ecaca9b..4ff0bfb9dd 100644 --- a/docs/install/installation/linux_install.md +++ b/docs/install/installation/linux_install.md @@ -77,13 +77,15 @@ Note: The above command extracts the files to "/usr/local/LibreChat". If you wan - Copy it to `/usr/local/LibreChat/` - Rename the file to `meilisearch` - Open a terminal and navigate to `/usr/local/LibreChat/` +- Generate a Master Key or use the one already provided in th `.env` file (less secure) +- Update the Master Key in the .env file (it must be the same everywhere) `MEILI_MASTER_KEY=` - Run the following command: ```bash ./meilisearch --master-key=YOUR_MASTER_KEY ``` -Note: Replace `YOUR_MASTER_KEY` with the generated master key, which you saved earlier. +Note: Replace `YOUR_MASTER_KEY` with the generated master key, which you saved earlier in the `.env` file. ## Install Node.js: diff --git a/docs/install/installation/mac_install.md b/docs/install/installation/mac_install.md index bef37d6340..71f65d852f 100644 --- a/docs/install/installation/mac_install.md +++ b/docs/install/installation/mac_install.md @@ -54,8 +54,10 @@ weight: 0 - Remember to include the MeiliSearch URL and Master Key in your .env file. Your .env file should include the following lines: ``` -MEILISEARCH_URL=http://127.0.0.1:7700 -MEILISEARCH_KEY=your_master_key_goes_here +SEARCH=true +MEILI_NO_ANALYTICS=true +MEILI_HOST=http://0.0.0.0:7700 +MEILI_MASTER_KEY=your_master_key_goes_here ``` > **Important:** use the same master key here and in your .env file.