Description: Briefly describe the changes in this pull request.
Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests for the changes?
Code Review: Have you self-reviewed your code and addressed any coding standard issues?
Description
Allow running the backend without frontend build files, primarily for speeding up CI tests where we might not want to spend time building the frontend just to test the backend.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1825
**Author:** [@cheahjs](https://github.com/cheahjs)
**Created:** 4/28/2024
**Status:** ✅ Merged
**Merged:** 4/28/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `feat/allow-backend-to-run-without-frontend`
---
### 📝 Commits (1)
- [`6a1d60b`](https://github.com/open-webui/open-webui/commit/6a1d60b1b344e6609068bdc5781b5256cc23763d) feat: warn but not exit if frontend build does not exist
### 📊 Changes
**2 files changed** (+15 additions, -6 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/config.py` (+5 -1)
📝 `backend/main.py` (+10 -5)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [x] **Testing:** Have you written and run sufficient tests for the changes?
- [x] **Code Review:** Have you self-reviewed your code and addressed any coding standard issues?
---
## Description
Allow running the backend without frontend build files, primarily for speeding up CI tests where we might not want to spend time building the frontend just to test the backend.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1825
Author: @cheahjs
Created: 4/28/2024
Status: ✅ Merged
Merged: 4/28/2024
Merged by: @tjbck
Base:
dev← Head:feat/allow-backend-to-run-without-frontend📝 Commits (1)
6a1d60bfeat: warn but not exit if frontend build does not exist📊 Changes
2 files changed (+15 additions, -6 deletions)
View changed files
📝
backend/config.py(+5 -1)📝
backend/main.py(+10 -5)📄 Description
Pull Request Checklist
Description
Allow running the backend without frontend build files, primarily for speeding up CI tests where we might not want to spend time building the frontend just to test the backend.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.