++ implementazione MAKE

This commit is contained in:
2026-05-14 17:30:51 +02:00
parent 69556f63eb
commit 74636dc619
2 changed files with 127 additions and 2 deletions

View File

@@ -50,7 +50,25 @@ Esempio rapido (Linux/macOS):
openssl rand -hex 32
```
## Avvio
## Avvio rapido con Make
```bash
make genkey # genera e scrive ENCRYPTION_KEY nel .env
make check # verifica prerequisiti e configurazione
make up # avvia i container
```
Altri comandi disponibili:
```bash
make logs # segue i log di nexterm
make ps # stato dei container
make update # aggiorna le immagini e ricrea i container
make down # ferma e rimuove i container
make help # lista completa dei comandi
```
## Avvio manuale
```bash
docker compose up -d
@@ -65,7 +83,7 @@ docker compose logs -f nexterm
Apri poi il browser su:
- `http://localhost:${NEXTERM_PORT_HOST}`
- `http://localhost:${PORT}`
## Stop e rimozione