From 896a7b3a52e17ea6df604c6bcbd9b721b8cfb19f Mon Sep 17 00:00:00 2001 From: jiangying Date: Fri, 19 Jul 2024 11:40:28 +0800 Subject: [PATCH] save --- docs/getting-started/index.mdx | 35 ++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/docs/getting-started/index.mdx b/docs/getting-started/index.mdx index a4e479c..11ce05b 100644 --- a/docs/getting-started/index.mdx +++ b/docs/getting-started/index.mdx @@ -209,6 +209,7 @@ Open WebUI consists of two primary components: the frontend and the backend (whi Run the following commands to install: +For Linux/macOS: ```sh git clone https://github.com/open-webui/open-webui.git cd open-webui/ @@ -217,15 +218,45 @@ cd open-webui/ cp -RPp .env.example .env # Building Frontend Using Node -npm i +npm install npm run build -# Serving Frontend with the Backend cd ./backend + +# Optional: To install using Conda as your development environment, follow these instructions: +# Create and activate a Conda environment +conda create --name open-webui-env python=3.11 +conda activate open-webui-env + +# Install dependencies pip install -r requirements.txt -U + +# Start the application bash start.sh ``` +For Windows: +```powershell +git clone https://github.com/open-webui/open-webui.git +cd open-webui + +copy .env.example .env + +npm install +npm run build + +cd .\backend + +# Optional: To install using Conda as your development environment, follow these instructions: +# Create and activate a Conda environment +conda create --name open-webui-env python=3.11 +conda activate open-webui-env + +pip install -r requirements.txt -U + +start.bat +``` + You should have Open WebUI up and running at http://localhost:8080/. Enjoy! 😄 ## Docker Compose