Installation per Einzeiler (curl | bash)
install/get.sh holt das Repository nach /usr/local/src/audiofy und startet install-server.sh bzw. install-player.sh; Eingaben kommen vom Terminal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -41,8 +41,27 @@ Portfreigabe am Router.
|
||||
|
||||
## Installation
|
||||
|
||||
Repository auf das jeweilige Gerät holen (`git clone …`) und als Benutzer mit sudo-Rechten
|
||||
(oder als root) ausführen.
|
||||
**Per Einzeiler** – als Benutzer mit sudo-Rechten (oder als root) in einem Terminal:
|
||||
|
||||
```
|
||||
curl -fsSL https://git.wind8000.de/0/audiofy/raw/branch/main/install/get.sh | bash -s -- server
|
||||
curl -fsSL https://git.wind8000.de/0/audiofy/raw/branch/main/install/get.sh | bash -s -- player
|
||||
```
|
||||
|
||||
Das Startskript installiert bei Bedarf `git`, holt Audiofy nach `/usr/local/src/audiofy` und
|
||||
startet das passende Install-Skript. Später aktualisieren: denselben Befehl mit `--update`
|
||||
am Ende (`… | bash -s -- server --update`).
|
||||
|
||||
Vorsichtiger – erst ansehen, dann ausführen:
|
||||
|
||||
```
|
||||
curl -fsSLO https://git.wind8000.de/0/audiofy/raw/branch/main/install/get.sh
|
||||
less get.sh
|
||||
bash get.sh server # bzw. player
|
||||
```
|
||||
|
||||
**Oder von Hand:** Repository klonen (`git clone https://git.wind8000.de/0/audiofy.git`) und
|
||||
die Install-Skripte direkt starten:
|
||||
|
||||
**1. Server**
|
||||
|
||||
@@ -82,7 +101,7 @@ einschalten und den QR-Code zeigen oder ausdrucken.
|
||||
| Status | `systemctl status audiofy-web` (Server) · `systemctl status audiofy-controller raspotify` (Player) |
|
||||
| Logs live | `journalctl -u audiofy-web -f` · `journalctl -u audiofy-controller -f` |
|
||||
| Neustart | `sudo systemctl restart audiofy-web` bzw. `audiofy-controller` |
|
||||
| Update | `git pull && install/install-server.sh --update` bzw. `install/install-player.sh --update` |
|
||||
| Update | Einzeiler mit `--update` – oder im Repository `git pull && install/install-server.sh --update` bzw. `install/install-player.sh --update` |
|
||||
|
||||
`--update` ersetzt nur Code, Python-Umgebung und Dienstdatei; Konfiguration, Datenbank,
|
||||
Caddy, Firewall und raspotify bleiben unverändert.
|
||||
|
||||
Reference in New Issue
Block a user