mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-27 13:48:51 +01:00
🔎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:
parent
1caa31b035
commit
de0cee3f56
2 changed files with 7 additions and 3 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue