mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 03:01:21 +02:00
Added Docker support
This commit is contained in:
+1
-2
@@ -4,8 +4,7 @@ FROM node:22-bookworm-slim AS frontend-builder
|
||||
WORKDIR /app/frontend
|
||||
|
||||
COPY frontend/package*.json ./
|
||||
RUN npm ci --ignore-scripts && \
|
||||
npm rebuild esbuild
|
||||
RUN npm ci
|
||||
|
||||
COPY frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
@@ -130,27 +130,31 @@
|
||||
## 🚀 Quick Start
|
||||
|
||||
### Requirements
|
||||
- Python 3.10+ (3.11/3.12 recommended)
|
||||
- Bambu Lab printer with **LAN Mode** enabled
|
||||
- Same local network as printer
|
||||
|
||||
### Installation
|
||||
### Docker (Recommended)
|
||||
|
||||
```bash
|
||||
git clone https://github.com/maziggy/bambuddy.git
|
||||
cd bambuddy
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Open **http://localhost:8000** and add your printer!
|
||||
|
||||
### Manual Installation
|
||||
|
||||
```bash
|
||||
# Clone and setup
|
||||
git clone https://github.com/maziggy/bambuddy.git
|
||||
cd bambuddy
|
||||
python3 -m venv venv
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
|
||||
# Run
|
||||
uvicorn backend.app.main:app --host 0.0.0.0 --port 8000
|
||||
```
|
||||
|
||||
Open **http://localhost:8000** and add your printer!
|
||||
|
||||
> **Need detailed instructions?** See the [Installation Guide](https://github.com/maziggy/bambuddy-wiki/blob/main/Installation.md)
|
||||
> **Need detailed instructions?** See the [Installation Guide](https://github.com/maziggy/bambuddy-wiki/blob/main/Installation.md) or [Docker Guide](https://github.com/maziggy/bambuddy-wiki/blob/main/Docker.md)
|
||||
|
||||
### Enabling LAN Mode
|
||||
|
||||
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
sudo DOCKER_BUILDKIT=0 docker compose build
|
||||
Reference in New Issue
Block a user