【学习记录】Open-WebUI 非Docker安装

前端 0

这里写自定义目录标题

    • 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 https://github.com/open-webui/open-webui.gitcd open-webui/# Copying required .env filecp -RPp .env.example .env# Building Frontend Using Nodenpm inpm run build# Serving Frontend with the Backendcd ./backendpip install -r requirements.txt -Ubash start.sh

You should have Open WebUI up and running at http://localhost:8080/. Enjoy! 😄

也许您对下面的内容还感兴趣: