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

Goatton 2024-06-28 09:03:02 阅读 87

这里写自定义目录标题

How to Install Without DockerProject ComponentsRequirements 📦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.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! 😄



声明

本文内容仅代表作者观点,或转载于其他网站,本站不以此文作为商业用途
如有涉及侵权,请联系本站进行删除
转载本站原创文章,请注明来源及作者。