[PR #618] [CLOSED] A startup script for Anything LLM #3427

Closed
opened 2026-02-22 18:33:45 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/618
Author: @lolsZz
Created: 1/18/2024
Status: Closed

Base: masterHead: master


📝 Commits (1)

📊 Changes

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

View changed files

startup.sh (+130 -0)

📄 Description

Main Script:

  • The script starts by checking for required dependencies.
  • It then navigates to the project directory.
  • It sets the API base URL for the project (reverse proxy for gemini-pro).
  • It counts the number of services that are already running.
  • Based on the number of running services, it presents options to the user:
  • If all services are running, it asks the user if they want to restart the application or close all services.
  • If some services are running, it restarts all services.
  • If no services are running, it starts all services.
  • The script then starts the server, collector, and front-end services using the start_service() function.
  • It logs a message indicating that all services have been started and provides the location of the log files for output.

Pull Request Type

  • [ x] feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #xxx

What is in this change?

Describe the changes in this PR that are impactful to the repo.

Additional Information

Add any other context about the Pull Request here that was not captured above.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/618 **Author:** [@lolsZz](https://github.com/lolsZz) **Created:** 1/18/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`f766115`](https://github.com/Mintplex-Labs/anything-llm/commit/f7661158edddddd391491dfff700b79419af690c) A startup script ### 📊 Changes **1 file changed** (+130 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `startup.sh` (+130 -0) </details> ### 📄 Description **Main Script**: - The script starts by checking for required dependencies. - It then navigates to the project directory. - It sets the API base URL for the project (reverse proxy for gemini-pro). - It counts the number of services that are already running. - Based on the number of running services, it presents options to the user: - If all services are running, it asks the user if they want to restart the application or close all services. - If some services are running, it restarts all services. - If no services are running, it starts all services. - The script then starts the server, collector, and front-end services using the `start_service()` function. - It logs a message indicating that all services have been started and provides the location of the log files for output. ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #xxx ### What is in this change? Describe the changes in this PR that are impactful to the repo. ### Additional Information Add any other context about the Pull Request here that was not captured above. ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated - [ ] I have tested my code functionality - [ ] Docker build succeeds locally --- <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-22 18:33:45 -05:00
yindo closed this issue 2026-02-22 18:33:46 -05:00
yindo changed title from [PR #618] A startup script for Anything LLM to [PR #618] [CLOSED] A startup script for Anything LLM 2026-06-05 15:13:22 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3427