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)
|
### Option A – Direkt vom Git-Repo (empfohlen)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/YOUR_USERNAME/picopy
|
git clone https://git.leuschner.dev/Tobias/PiCopy
|
||||||
cd picopy
|
cd PiCopy
|
||||||
sudo bash install.sh
|
sudo bash install.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
### Option B – One-Liner
|
### Option B – One-Liner
|
||||||
|
|
||||||
```bash
|
```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:
|
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
|
## Update
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd picopy
|
cd PiCopy
|
||||||
git pull
|
git pull
|
||||||
sudo cp app.py /opt/picopy/app.py
|
sudo cp app.py /opt/picopy/app.py
|
||||||
sudo systemctl restart picopy
|
sudo systemctl restart picopy
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# PiCopy – Installer
|
# PiCopy – Installer
|
||||||
# https://github.com/YOUR_USERNAME/picopy
|
# https://git.leuschner.dev/Tobias/PiCopy
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# sudo bash install.sh
|
# sudo bash install.sh
|
||||||
# or one-line:
|
# 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
|
set -euo pipefail
|
||||||
|
|
||||||
INSTALL_DIR="/opt/picopy"
|
INSTALL_DIR="/opt/picopy"
|
||||||
SERVICE_NAME="picopy"
|
SERVICE_NAME="picopy"
|
||||||
PORT=8080
|
PORT=8080
|
||||||
REPO_RAW="https://raw.githubusercontent.com/YOUR_USERNAME/picopy/main"
|
REPO_RAW="https://git.leuschner.dev/Tobias/PiCopy/raw/branch/main"
|
||||||
|
|
||||||
# ── Farben ───────────────────────────────────────────────────────────────────
|
# ── Farben ───────────────────────────────────────────────────────────────────
|
||||||
R='\033[0;31m'; G='\033[0;32m'; Y='\033[1;33m'; B='\033[0;34m'; N='\033[0m'
|
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