mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-29 22:58:51 +01:00
docs: updates (#662)
* docs: updates * docs: updates * Update Settings.jsx
This commit is contained in:
parent
1ef53a41f0
commit
ad29d25396
11 changed files with 260 additions and 141 deletions
89
docs/install/mongodb.md
Normal file
89
docs/install/mongodb.md
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
# Set Up an Online MongoDB Database
|
||||
|
||||
## Create an account
|
||||
- Open a new tab and go to [https://account.mongodb.com/account/register](https://account.mongodb.com/account/register) to create an account.
|
||||
|
||||
## Create a project
|
||||
- Once you have set up your account, create a new project and name it:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Build a database
|
||||
- Now select `Build a Database`:
|
||||
|
||||

|
||||
|
||||
## Choose your cloud environment
|
||||
- Select the free tier:
|
||||
|
||||

|
||||
|
||||
## Name your cluster
|
||||
- Name your cluster (leave everything else default) and click create:
|
||||
|
||||

|
||||
|
||||
## Database credentials
|
||||
- Enter a user name and a secure password:
|
||||
|
||||

|
||||
|
||||
## Select environment
|
||||
- Select `Cloud Environement`:
|
||||
|
||||

|
||||
|
||||
## Complete database configuration
|
||||
- Click `Finish and Close`:
|
||||
|
||||

|
||||
|
||||
## Go to your database
|
||||
- Click `Go to Databases`:
|
||||
|
||||

|
||||
|
||||
## Network access
|
||||
- Click on `Network Access` in the side menu:
|
||||
|
||||

|
||||
|
||||
## Add IP adress
|
||||
- Add a IP Adress:
|
||||
|
||||

|
||||
|
||||
## Allow access
|
||||
- Select `Allow access from anywhere` and `Confirm`:
|
||||
|
||||

|
||||
|
||||
## Get your connection string
|
||||
|
||||
- Select `Database` in the side menu
|
||||
|
||||

|
||||
|
||||
- Select `Connect`:
|
||||
|
||||

|
||||
|
||||
|
||||
- Select the first option (`Drivers`)
|
||||
|
||||

|
||||
|
||||
|
||||
- Copy the `connection string`:
|
||||
|
||||

|
||||
|
||||
- Make sure to replace `<password>` with the database password you created in the "[database credentials](#database-credentials)" section above. Do not forget to remove the `<` `>` around the password. Also remove `&w=majority` at the end of the connection string.
|
||||
- example:
|
||||
```
|
||||
mongodb+srv://fuegovic:1Gr8Banana@render-librechat.fgycwpi.mongo.net/?retryWrites=true
|
||||
```
|
||||
|
||||
### Note: If you're still having trouble, before creating a new issue, please search for similar ones on our [#issues thread on our discord](https://discord.gg/weqZFtD9C4) or our [troubleshooting discussion](https://github.com/danny-avila/LibreChat/discussions/categories/troubleshooting) on our Discussions page. If you don't find a relevant issue, feel free to create a new one and provide as much detail as possible.
|
||||
Loading…
Add table
Add a link
Reference in a new issue