mirror of
https://github.com/open-webui/docs
synced 2025-05-20 19:26:22 +00:00
save
This commit is contained in:
parent
af6f6b2c54
commit
896a7b3a52
@ -209,6 +209,7 @@ Open WebUI consists of two primary components: the frontend and the backend (whi
|
|||||||
|
|
||||||
Run the following commands to install:
|
Run the following commands to install:
|
||||||
|
|
||||||
|
For Linux/macOS:
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/open-webui/open-webui.git
|
git clone https://github.com/open-webui/open-webui.git
|
||||||
cd open-webui/
|
cd open-webui/
|
||||||
@ -217,15 +218,45 @@ cd open-webui/
|
|||||||
cp -RPp .env.example .env
|
cp -RPp .env.example .env
|
||||||
|
|
||||||
# Building Frontend Using Node
|
# Building Frontend Using Node
|
||||||
npm i
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
|
|
||||||
# Serving Frontend with the Backend
|
|
||||||
cd ./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
|
pip install -r requirements.txt -U
|
||||||
|
|
||||||
|
# Start the application
|
||||||
bash start.sh
|
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! 😄
|
You should have Open WebUI up and running at http://localhost:8080/. Enjoy! 😄
|
||||||
|
|
||||||
## Docker Compose
|
## Docker Compose
|
||||||
|
Loading…
Reference in New Issue
Block a user