mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-16 23:45:33 +01:00
Feat/startup config api (#518)
* feat: add api for config * feat: add data service to client * feat: update client pages with values from config endpoint * test: update tests * Update configurations and documentation to remove VITE_SHOW_GOOGLE_LOGIN_OPTION and change VITE_APP_TITLE to APP_TITLE * include APP_TITLE with startup config * Add test for new route * update backend-review pipeline * comment out test until we can figure out testing routes in CI * update: .env.example --------- Co-authored-by: fuegovic <32828263+fuegovic@users.noreply.github.com>
This commit is contained in:
parent
2da81db440
commit
3634d8691a
25 changed files with 419 additions and 75 deletions
|
|
@ -50,11 +50,10 @@ To update LibreChat. enter these commands one after the other from the root dir:
|
|||
- MEILI_HOST=http://meilisearch:7700
|
||||
- MEILI_HTTP_ADDR=meilisearch:7700
|
||||
```
|
||||
- If you'd like to change the app title or disable/enable google login, edit the following lines (the ones in your .env file are not read during building)
|
||||
- If you'd like to change the app title, edit the following lines (the ones in your .env file are not read during building)
|
||||
```yaml
|
||||
args:
|
||||
VITE_APP_TITLE: LibreChat # default, change to your desired app name
|
||||
VITE_SHOW_GOOGLE_LOGIN_OPTION: false # default, change to true if you have google auth setup
|
||||
APP_TITLE: LibreChat # default, change to your desired app name
|
||||
```
|
||||
|
||||
- If for some reason you're not able to build the app image, you can pull the latest image from **Dockerhub**.
|
||||
|
|
@ -67,8 +66,7 @@ To update LibreChat. enter these commands one after the other from the root dir:
|
|||
context: .
|
||||
target: node
|
||||
args:
|
||||
VITE_APP_TITLE: LibreChat # default, change to your desired app name
|
||||
VITE_SHOW_GOOGLE_LOGIN_OPTION: false # default, change to true if you have google auth setup
|
||||
APP_TITLE: LibreChat # default, change to your desired app name
|
||||
```
|
||||
|
||||
- Comment this line in (remove the `#` key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue