🔎docs: update meilisearch instruction (#1930)

* 🔎docs: update meilisearch in mac_install.md

Update the Meilisearch .env variables in `mac_install.md`

* 🔎🐧
This commit is contained in:
Fuegovic 2024-03-01 12:32:32 -05:00 committed by GitHub
parent 1caa31b035
commit de0cee3f56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 3 deletions

View file

@ -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:

View file

@ -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.