Repo-URLs auf git.leuschner.dev aktualisiert
- README.md: Clone-URL und One-Liner auf git.leuschner.dev/Tobias/PiCopy - install.sh: REPO_RAW und Kommentar-Header angepasst Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -39,15 +39,15 @@ PiCopy verwandelt deinen Raspberry Pi in ein eigenständiges Backup-Gerät. Stec
|
||||
### Option A – Direkt vom Git-Repo (empfohlen)
|
||||
|
||||
```bash
|
||||
git clone https://github.com/YOUR_USERNAME/picopy
|
||||
cd picopy
|
||||
git clone https://git.leuschner.dev/Tobias/PiCopy
|
||||
cd PiCopy
|
||||
sudo bash install.sh
|
||||
```
|
||||
|
||||
### Option B – One-Liner
|
||||
|
||||
```bash
|
||||
curl -sSL https://raw.githubusercontent.com/YOUR_USERNAME/picopy/main/install.sh | sudo bash
|
||||
curl -sSL https://git.leuschner.dev/Tobias/PiCopy/raw/branch/main/install.sh | sudo bash
|
||||
```
|
||||
|
||||
Nach der Installation ist das Web-Interface unter folgender Adresse erreichbar:
|
||||
@@ -172,7 +172,7 @@ Der Hotspot startet automatisch beim Boot wenn das konfigurierte WLAN nicht verf
|
||||
## Update
|
||||
|
||||
```bash
|
||||
cd picopy
|
||||
cd PiCopy
|
||||
git pull
|
||||
sudo cp app.py /opt/picopy/app.py
|
||||
sudo systemctl restart picopy
|
||||
|
||||
@@ -1,19 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
# ============================================================
|
||||
# PiCopy – Installer
|
||||
# https://github.com/YOUR_USERNAME/picopy
|
||||
# https://git.leuschner.dev/Tobias/PiCopy
|
||||
#
|
||||
# Usage:
|
||||
# sudo bash install.sh
|
||||
# or one-line:
|
||||
# curl -sSL https://raw.githubusercontent.com/YOUR_USERNAME/picopy/main/install.sh | sudo bash
|
||||
# curl -sSL https://git.leuschner.dev/Tobias/PiCopy/raw/branch/main/install.sh | sudo bash
|
||||
# ============================================================
|
||||
set -euo pipefail
|
||||
|
||||
INSTALL_DIR="/opt/picopy"
|
||||
SERVICE_NAME="picopy"
|
||||
PORT=8080
|
||||
REPO_RAW="https://raw.githubusercontent.com/YOUR_USERNAME/picopy/main"
|
||||
REPO_RAW="https://git.leuschner.dev/Tobias/PiCopy/raw/branch/main"
|
||||
|
||||
# ── Farben ───────────────────────────────────────────────────────────────────
|
||||
R='\033[0;31m'; G='\033[0;32m'; Y='\033[1;33m'; B='\033[0;34m'; N='\033[0m'
|
||||
|
||||
Reference in New Issue
Block a user