From 514a4bc4a2dd3f0e389cbe2a56cd0437dc7fd9ce Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 9 Jan 2025 10:34:35 -0800 Subject: [PATCH] refac --- .../advanced-topics/env-configuration.md | 2 +- docs/intro.mdx | 29 ------------------- 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/docs/getting-started/advanced-topics/env-configuration.md b/docs/getting-started/advanced-topics/env-configuration.md index c5430a5..6d5987a 100644 --- a/docs/getting-started/advanced-topics/env-configuration.md +++ b/docs/getting-started/advanced-topics/env-configuration.md @@ -107,7 +107,7 @@ is also being used and set to `True`. Failure to do so will result in the inabil #### `ENABLE_REALTIME_CHAT_SAVE` - Type: `bool` -- Default: `True` +- Default: `False` - Description: When enabled, the system saves each chunk of streamed chat data to the database in real time to ensure maximum data persistency. This feature provides robust data recovery and allows accurate session tracking. However, the tradeoff is increased latency, as saving to the database introduces a delay. Disabling this feature can improve performance and reduce delays, but it risks potential data loss in the event of a system failure or crash. Use based on your application's requirements and acceptable tradeoffs. #### `ENABLE_ADMIN_EXPORT` diff --git a/docs/intro.mdx b/docs/intro.mdx index b89df47..a83a3c8 100644 --- a/docs/intro.mdx +++ b/docs/intro.mdx @@ -95,35 +95,6 @@ docker run -d --name watchtower --restart unless-stopped -v /var/run/docker.sock ## Manual Installation -{/* ### Installation with `uvx` -It is highly recommended to use **`uv`**, a Python runtime manager, to ensure seamless Python environment management and avoid conflicts. Using `uv` is especially helpful when running multiple Python projects with different dependencies. - -#### Install `uv`: -Visit the official [`uv` documentation](https://docs.astral.sh/uv/getting-started/installation/) for details. Below are the quick commands for installation based on your operating system: - -- **macOS/Linux**: - ```bash - curl -LsSf https://astral.sh/uv/install.sh | sh - ``` - -- **Windows**: - ```powershell - powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" - ``` - -Once `uv` is installed and everything is configured, you can proceed with the following command to install and serve Open WebUI: - -```bash -uvx --python 3.11 open-webui serve -``` - -This command will: -1. Download and install the required Python 3.11 runtime if `uv` doesn't already have it. -2. Install Open WebUI along with its necessary dependencies. -3. Start the Open WebUI server. - -After running this command, Open WebUI will be served at [http://localhost:8080](http://localhost:8080). Enjoy! 😄 */} - ### Installation with `pip` For users installing Open WebUI with Python's package manager `pip`, **it is strongly recommended to use Python runtime managers like `uv` or `conda`**. These tools help manage Python environments effectively and avoid conflicts.