[PR #12879] [CLOSED] Create dev_windows.bat #9837

Closed
opened 2025-11-11 18:32:58 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/12879
Author: @TianFengshou
Created: 4/15/2025
Status: Closed

Base: mainHead: dev


📝 Commits (1)

📊 Changes

1 file changed (+25 additions, -0 deletions)

View changed files

backend/dev_windows.bat (+25 -0)

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made 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 to validate the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
  • Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
    • feat: Introduces a new feature or enhancement to the codebase

Changelog Entry

Description

  • Added a Windows batch script to make it easier for developers using Windows to start the Open WebUI server. This helps onboard non-technical users who are more familiar with Windows systems.

Added

  • New start_windows.bat script for launching the development server on Windows.
    • Uses setlocal enabledelayedexpansion for safe variable expansion.
    • Falls back to default port 8080 if the PORT environment variable is not set.
    • Escapes * in command-line arguments properly for Windows.

Changed

  • N/A

Deprecated

  • N/A

Removed

  • N/A

Fixed

  • N/A

Security

  • N/A

Breaking Changes

  • N/A

Additional Information

  • This script is based on the existing Linux .sh script for parity.
  • Helps improve the developer experience for Windows users.
  • No breaking changes or external dependencies were introduced.

Screenshots or Videos

  • N/A

🔄 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/12879 **Author:** [@TianFengshou](https://github.com/TianFengshou) **Created:** 4/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dev` --- ### 📝 Commits (1) - [`fd43532`](https://github.com/open-webui/open-webui/commit/fd43532cc4b2de55cba3214015cd939b9616111a) Create dev_windows.bat ### 📊 Changes **1 file changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `backend/dev_windows.bat` (+25 -0) </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [x] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [x] **Testing:** Have you written and run sufficient tests to validate the changes? - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? - [x] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following: - `feat`: Introduces a new feature or enhancement to the codebase --- # Changelog Entry ### Description - Added a Windows batch script to make it easier for developers using Windows to start the Open WebUI server. This helps onboard non-technical users who are more familiar with Windows systems. ### Added - New `start_windows.bat` script for launching the development server on Windows. - Uses `setlocal enabledelayedexpansion` for safe variable expansion. - Falls back to default port `8080` if the `PORT` environment variable is not set. - Escapes `*` in command-line arguments properly for Windows. ### Changed - N/A ### Deprecated - N/A ### Removed - N/A ### Fixed - N/A ### Security - N/A ### Breaking Changes - N/A --- ### Additional Information - This script is based on the existing Linux `.sh` script for parity. - Helps improve the developer experience for Windows users. - No breaking changes or external dependencies were introduced. ### Screenshots or Videos - N/A --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 18:32:58 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#9837