docs: ajout section Raspberry Pi / ARM64 + install V sur Debian aarch64
CI / build (push) Successful in 4m45s
CI / build (push) Successful in 4m45s
This commit is contained in:
@@ -60,10 +60,39 @@ Le `docker-compose.yml` inclus monte :
|
|||||||
- Variables d'environnement `NTFY_TOKEN` et `NTFY_HMAC_SECRET`
|
- Variables d'environnement `NTFY_TOKEN` et `NTFY_HMAC_SECRET`
|
||||||
- Healthcheck intégré (`/health`)
|
- Healthcheck intégré (`/health`)
|
||||||
|
|
||||||
|
### Raspberry Pi / ARM64
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Option A : Binaire pré-compilé (CI) — pas besoin de V
|
||||||
|
# Télécharge l'artifact "ntfy-bridge-linux-arm64" depuis Gitea Actions :
|
||||||
|
# https://git.dracodev.net/bruno/ntfy-bridge/actions
|
||||||
|
# ou via API :
|
||||||
|
curl -s -o ntfy-bridge "https://git.dracodev.net/api/v1/repos/bruno/ntfy-bridge/actions/artifacts/latest/zip?name=binaires"
|
||||||
|
unzip binaires.zip ntfy-bridge-linux-arm64
|
||||||
|
mv ntfy-bridge-linux-arm64 ntfy-bridge
|
||||||
|
chmod +x ntfy-bridge
|
||||||
|
|
||||||
|
# Option B : Compiler soi-même (nécessite V)
|
||||||
|
# Installer V sur Debian 12 / Raspberry Pi OS (aarch64) :
|
||||||
|
git clone --depth 1 https://github.com/vlang/v ~/v
|
||||||
|
cd ~/v && make
|
||||||
|
sudo ln -sf ~/v/v /usr/local/bin/v
|
||||||
|
|
||||||
|
# Compiler ntfy-bridge
|
||||||
|
git clone https://git.dracodev.net/bruno/ntfy-bridge.git
|
||||||
|
cd ntfy-bridge
|
||||||
|
v -prod -o ntfy-bridge .
|
||||||
|
|
||||||
|
# Lancer
|
||||||
|
cp ntfy-bridge.example.yaml ntfy-bridge.yaml
|
||||||
|
vim ntfy-bridge.yaml
|
||||||
|
./ntfy-bridge --config ntfy-bridge.yaml
|
||||||
|
```
|
||||||
|
|
||||||
### Compilation manuelle
|
### Compilation manuelle
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Installer V (si pas déjà fait)
|
# Installer V sur Linux x86_64 (Debian/Ubuntu)
|
||||||
curl -s https://github.com/vlang/v/releases/latest/download/v_linux.zip -o /tmp/v.zip
|
curl -s https://github.com/vlang/v/releases/latest/download/v_linux.zip -o /tmp/v.zip
|
||||||
unzip /tmp/v.zip -d /tmp && sudo /tmp/v/v symlink
|
unzip /tmp/v.zip -d /tmp && sudo /tmp/v/v symlink
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user