diff --git a/README.md b/README.md index 240a069..0ce7fa8 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,24 @@ ADN DMR conference bridge server. Configuration is YAML; the codebase follows clean architecture (domain, application, infrastructure). v2 adds integrated **PROXY**, **SubscriptionStore** routing, report v2 to the monitor, and a unified **`adn-server.py`** entrypoint (`--echo`, `--doctor`, `--no-proxy`). See [CHANGELOG.md](CHANGELOG.md). +## Install with ADN-Install + +The easiest way to run the server is with [ADN-Install](https://github.com/ce5rpy/ADN-Install), on Docker or bare metal. Choose the version with `ADN_VERSION`: `stable` (latest release, the default), `develop` (this repo's `develop` branch, **for testing only**) or a release `X.Y.Z`: + +```bash +curl -fsSL https://raw.githubusercontent.com/ce5rpy/ADN-Install/master/docker-install.sh | sudo env ADN_VERSION=develop bash +curl -fsSL https://raw.githubusercontent.com/ce5rpy/ADN-Install/master/install.sh | sudo env ADN_VERSION=develop bash +``` + +On a server that is already installed, update its toolkit first, then change the version — the same command and values on Docker and bare metal: + +```bash +sudo adn-docker update && sudo adn-docker version develop # Docker +sudo adn-deploy update --toolkit && sudo adn-deploy version develop # bare metal +``` + +`version` alone shows the current versions; `stable` goes back to the latest release. Docker images: `docker.io/ce5rpy/adn-server` — `:latest` and `:X.Y.Z` (releases), `:develop` and `:develop-` (each push to `develop`). + ## License GPL v3. Derived from FreeDMR / HBlink. diff --git a/README_es.md b/README_es.md index 82be938..9a3f2c5 100644 --- a/README_es.md +++ b/README_es.md @@ -4,6 +4,24 @@ Servidor puente de conferencia DMR de ADN. La configuración es YAML; el código sigue arquitectura limpia (domain, application, infrastructure). v2 agrega **PROXY** integrado, enrutamiento **SubscriptionStore**, report v2 hacia el monitor, y un punto de entrada unificado **`adn-server.py`** (`--echo`, `--doctor`, `--no-proxy`). Ver [CHANGELOG.md](CHANGELOG.md). +## Instalar con ADN-Install + +La forma más fácil de usar el servidor es con [ADN-Install](https://github.com/ce5rpy/ADN-Install), en Docker o en bare metal. Elige la versión con `ADN_VERSION`: `stable` (última versión publicada, por defecto), `develop` (la rama `develop` de este repo, **solo para pruebas**) o una versión `X.Y.Z`: + +```bash +curl -fsSL https://raw.githubusercontent.com/ce5rpy/ADN-Install/master/docker-install.sh | sudo env ADN_VERSION=develop bash +curl -fsSL https://raw.githubusercontent.com/ce5rpy/ADN-Install/master/install.sh | sudo env ADN_VERSION=develop bash +``` + +En un servidor ya instalado, actualiza primero su toolkit y después cambia la versión; el comando y los valores son los mismos en Docker y en bare metal: + +```bash +sudo adn-docker update && sudo adn-docker version develop # Docker +sudo adn-deploy update --toolkit && sudo adn-deploy version develop # bare metal +``` + +`version` sin nada muestra las versiones actuales; `stable` vuelve a la última versión publicada. Imágenes Docker: `docker.io/ce5rpy/adn-server`: `:latest` y `:X.Y.Z` (versiones publicadas), `:develop` y `:develop-` (cada push a `develop`). + ## Licencia GPL v3. Derivado de FreeDMR / HBlink.