【学习记录】Open-WebUI 非Docker安装
这里写自定义目录标题
- How to Install Without Docker
- Project Components
- Requirements 📦
- Build and Install 🛠️
来源
How to Install Without Docker
While we strongly recommend using our convenient Docker container installation for optimal support, we understand that some situations may require a non-Docker setup, especially for development purposes. Please note that non-Docker installations are not officially supported, and you might need to troubleshoot on your own.
Project Components
Open WebUI consists of two primary components: the frontend and the backend (which serves as a reverse proxy, handling static frontend files, and additional features). Both need to be running concurrently for the development environment.
INFO
The backend is required for proper functionality
Requirements 📦
🐰 Node.js >= 20.10 or Bun >= 1.0.21
🐍 Python >= 3.11
Build and Install 🛠️
Run the following commands to install:
git clone http://github.com/open-webui/open-webui.git
cd open-webui/
# Copying required .env file
cp -RPp .env.example .env
# Building Frontend Using Node
npm i
npm run build
# Serving Frontend with the Backend
cd ./backend
pip install -r requirements.txt -U
bash start.sh
You should have Open WebUI up and running at http://localhost:8080/. Enjoy! 😄