[PR #127] [MERGED] fix: bootstrap env #22320

Closed
opened 2026-02-21 20:18:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/127
Author: @yuhao1118
Created: 5/21/2023
Status: Merged
Merged: 5/22/2023
Merged by: @iamjoel

Base: mainHead: fix/dev-bootstrap


📝 Commits (3)

📊 Changes

2 files changed (+13 additions, -1 deletions)

View changed files

📝 api/.env.example (+1 -1)
web/.env.example (+12 -0)

📄 Description

Assuming I haven't missed any information, the current tutorial for starting a project seems to be missing some details. To launch a web project, developers need to manually set a series of NEXT-related environment variables in order for it to start normally. Secondly, the APP_URL for the API project is actually only used for front-end display, so it should be the front-end project's URL (3000). The real APP_URL (5001) should be specified in the web project, as this is the base URL when sending requests.


🔄 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/langgenius/dify/pull/127 **Author:** [@yuhao1118](https://github.com/yuhao1118) **Created:** 5/21/2023 **Status:** ✅ Merged **Merged:** 5/22/2023 **Merged by:** [@iamjoel](https://github.com/iamjoel) **Base:** `main` ← **Head:** `fix/dev-bootstrap` --- ### 📝 Commits (3) - [`fc34d2f`](https://github.com/langgenius/dify/commit/fc34d2f2f7f760a96a526614ebb14f33e88aa30c) fix: bootstrap env - [`5d3e0f2`](https://github.com/langgenius/dify/commit/5d3e0f2a98852544561e1bb4ac2a6f090fc0966a) feat: remove env.sh - [`a89af91`](https://github.com/langgenius/dify/commit/a89af91a19d68c7cc3e16e21ff62e26d34be6803) fix: env format ### 📊 Changes **2 files changed** (+13 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `api/.env.example` (+1 -1) ➕ `web/.env.example` (+12 -0) </details> ### 📄 Description Assuming I haven't missed any information, the current tutorial for starting a project seems to be missing some details. To launch a web project, developers need to manually set a series of NEXT-related environment variables in order for it to start normally. Secondly, the APP_URL for the API project is actually only used for front-end display, so it should be the front-end project's URL (3000). The real APP_URL (5001) should be specified in the web project, as this is the base URL when sending requests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:18:42 -05:00
yindo closed this issue 2026-02-21 20:18:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22320