feat: make stop/start/restart + Doku servicefreundlicher
Makefile: neue Targets 'stop' (Gateway + llama.cpp), 'start' (llm-up + run), 'restart' (stop + start). CONTAINER_NAME als überschreibbare Variable. BEDIENUNGSANLEITUNG § 4: neuer Schnellbefehle-Block (§ 4.0) mit Tabellen für alle Start-/Stop-Situationen; § 4.8 Stoppen und § 4.9 Neustart als dedizierte Abschnitte. README: Stoppen, Neu starten und make-Targets aktualisiert. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
11ae66f5ae
commit
a54daecbc8
3 changed files with 141 additions and 2 deletions
23
README.md
23
README.md
|
|
@ -123,6 +123,26 @@ VA_PROFILE=hybrid make run
|
|||
VA_PROFILE=local-dev make run
|
||||
```
|
||||
|
||||
### Stoppen
|
||||
|
||||
```bash
|
||||
make stop # Gateway (alle Varianten) + llama.cpp-Container
|
||||
# Einzeln:
|
||||
Strg + C # Gateway im Vordergrund
|
||||
pkill -f "uvicorn app.main:app" # Gateway im Hintergrund
|
||||
systemctl --user stop voice-assistant # Gateway als systemd-Dienst
|
||||
make llm-down # nur llama.cpp
|
||||
sudo systemctl stop ollama # nur Ollama
|
||||
```
|
||||
|
||||
### Neu starten (alles)
|
||||
|
||||
```bash
|
||||
make restart # make stop + make start (llama.cpp + Gateway)
|
||||
# Nur Gateway neu (llama.cpp läuft weiter):
|
||||
systemctl --user restart voice-assistant
|
||||
```
|
||||
|
||||
### Backend wechseln (llama.cpp ↔ Ollama)
|
||||
|
||||
Beide Server können nicht gleichzeitig laufen (geteilter GPU-Speicher).
|
||||
|
|
@ -142,6 +162,9 @@ sudo systemctl start ollama
|
|||
```bash
|
||||
make install # venv anlegen + Abhängigkeiten installieren
|
||||
make run # Gateway starten (uvicorn --reload, Port aus .env)
|
||||
make start # llama.cpp + Gateway starten (hybrid/local-dev)
|
||||
make stop # alles stoppen (Gateway + llama.cpp)
|
||||
make restart # make stop + make start
|
||||
make test # Pytest-Suite (offline, kostenlos)
|
||||
make smoke # Live-End-to-End-Test gegen OpenRouter (geringe Kosten)
|
||||
make llm-up # llama.cpp-Docker-Container starten
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue