mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Feature/windows installer (#1529)
Add feature: Added a powershells script to easily install bambuddy on windows
This commit is contained in:
@@ -25,6 +25,18 @@ powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercon
|
||||
curl -fsSL https://raw.githubusercontent.com/maziggy/bambuddy/main/install/install.sh -o install.sh && chmod +x install.sh && ./install.sh
|
||||
```
|
||||
|
||||
### Windows Native Installation
|
||||
|
||||
**Windows PowerShell:**
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/maziggy/bambuddy/main/install/windows-installer.ps1 -OutFile windows-installer.ps1; .\windows-installer.ps1"
|
||||
```
|
||||
|
||||
**Unattended:**
|
||||
```powershell
|
||||
.\windows-installer.ps1 -InstallDir C:\Bambuddy -Port 8000 -Yes
|
||||
```
|
||||
---
|
||||
|
||||
## Scripts Overview
|
||||
@@ -34,6 +46,7 @@ curl -fsSL https://raw.githubusercontent.com/maziggy/bambuddy/main/install/insta
|
||||
| `install.sh` | Linux, macOS | Native (Python venv) |
|
||||
| `docker-install.sh` | Linux, macOS | Docker |
|
||||
| `docker-install.ps1` | Windows (Docker Desktop) | Docker |
|
||||
| `windows-installer.ps1` | Windows (Native) | Windows Service |
|
||||
| `update.sh` | Linux (systemd) | Native update helper |
|
||||
|
||||
---
|
||||
@@ -78,6 +91,32 @@ Installs BamBuddy with Python virtual environment and optional systemd/launchd s
|
||||
# Skip service setup
|
||||
./install.sh --no-service -y
|
||||
```
|
||||
### `windows-installer.ps1` (Windows)
|
||||
|
||||
Windows PowerShell:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -Command "iwr -useb https://raw.githubusercontent.com/maziggy/bambuddy/main/install/windows-installer.ps1 -OutFile windows-installer.ps1; .\windows-installer.ps1"
|
||||
|
||||
```
|
||||
> Installs Bambuddy natively on Windows using Git, Python, a virtual environment, and optional NSSM Windows Service registration.
|
||||
|
||||
**Parameters:**
|
||||
```powershell
|
||||
-InstallDir PATH Installation directory (default: C:\Bambuddy)
|
||||
-Port PORT Port to listen on (default: 8000)
|
||||
-Yes Non-interactive mode, accept defaults
|
||||
-Silent Non-interactive mode with reduced console output
|
||||
-NoService Skip Windows Service setup
|
||||
-NoStart Do not start Bambuddy at the end
|
||||
-LocalOnly Bind to 127.0.0.1 instead of all LAN interfaces
|
||||
```
|
||||
|
||||
The installer stores the Git checkout in `INSTALL_DIR\bambuddy`, user data in
|
||||
`INSTALL_DIR\data`, and application logs in `INSTALL_DIR\logs` so updates and
|
||||
re-clones do not delete runtime data. If an earlier Windows installer run left
|
||||
runtime data in the Git checkout, the installer moves known data and log paths
|
||||
to the new locations before starting Bambuddy.
|
||||
|
||||
---
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user