Files
SentinelMesh/docs/INSTALL.md
T
gilles 7cf56f24ef chore: initialise la structure du projet SentinelMesh
- Workspace Cargo avec backend, agent-scan-network, agent-metric
- Skeleton Rust pour les trois crates (Axum, Tokio, SQLx)
- Documentation : README, FEATURES, ROADMAP, ARCHITECTURE, API, INSTALL
- Exemples de widgets Glance (custom-api)
- Script d'installation agents (squelette Phase 5)
- Docker Compose + Dockerfile backend
- .gitignore et CLAUDE.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-19 05:59:12 +02:00

1.1 KiB

Installation SentinelMesh

Prérequis

  • Docker + Docker Compose (recommandé)
  • ou Rust >= 1.82 pour une compilation locale

Docker Compose (recommandé)

git clone https://git.maison43gil.com/gilles/SentinelMesh.git
cd SentinelMesh
docker compose up -d

Le backend est accessible sur http://localhost:8080.

Compilation locale

# Backend
cd backend && cargo build --release

# Agent découverte réseau
cd agents/agent-scan-network && cargo build --release

# Agent métriques
cd agents/agent-metric && cargo build --release

Installation des agents (Phase 5)

curl -fsSL http://<backend>/install.sh | bash \
  --server http://<backend> \
  --token <token> \
  --agent-type scan-network

curl -fsSL http://<backend>/install.sh | bash \
  --server http://<backend> \
  --token <token> \
  --agent-type metric

Intégration Glance

Ajouter dans glance.yml :

- type: custom-api
  title: SentinelMesh — Réseau
  cache: 30s
  url: http://<backend>:8080/api/v1/widgets/network

- type: custom-api
  title: SentinelMesh — Métriques
  cache: 1s
  url: http://<backend>:8080/api/v1/widgets/metrics