mirror of
https://github.com/Such-Software/adaptive-multi-protocol-gateway.git
synced 2026-10-17 07:31:32 +02:00
Add guided deploy plan
This commit is contained in:
@@ -107,6 +107,12 @@ python3 -m ampg --config gateway.toml doctor --platform android-termux
|
||||
This keeps the same gateway config portable across a VPS, laptop, old phone, or manual
|
||||
render-only environment while making daemon ownership decisions explicit.
|
||||
|
||||
## Deploy plan
|
||||
|
||||
`ampg deploy plan` is the operator-friendly layer over build, doctor, install-plan,
|
||||
approvals, address capture, and apply dry-run. It emits stage rows with `ready`, `todo`,
|
||||
`review`, `blocked`, or `skipped` status and short next-step commands. It is read-only.
|
||||
|
||||
## Activation plan
|
||||
|
||||
`ampg apply --dry-run` turns daemon status and generated config artifacts into an ordered
|
||||
|
||||
@@ -35,6 +35,12 @@ The generated config keeps common transports as `enabled = true/false` toggles a
|
||||
creates practical profiles such as `vps-full`, `tor-i2p`, and `mobile-i2p` when they
|
||||
apply.
|
||||
|
||||
Then run `deploy plan` for a concise checklist:
|
||||
|
||||
```sh
|
||||
python3 -m ampg --config gateway.toml deploy plan --profile vps-full
|
||||
```
|
||||
|
||||
## Minimal Wownero pilot config
|
||||
|
||||
```toml
|
||||
|
||||
@@ -37,6 +37,7 @@ config artifacts.
|
||||
## Preflight commands
|
||||
|
||||
```sh
|
||||
python3 -m ampg --config gateway.toml deploy plan --profile mobile-i2p
|
||||
python3 -m ampg --config gateway.toml status
|
||||
python3 -m ampg --config gateway.toml doctor
|
||||
python3 -m ampg --config gateway.toml install-plan --profile mobile-i2p
|
||||
@@ -54,6 +55,10 @@ python3 -m ampg --config gateway.toml approvals approve --profile mobile-i2p --a
|
||||
python3 -m ampg --config gateway.toml doctor --platform android-termux
|
||||
```
|
||||
|
||||
`deploy plan` summarizes the current deployment in plain stages: source, build, DNS,
|
||||
doctor, daemons, artifacts, addresses, and apply preflight. It prints the next commands
|
||||
to run and does not change files or services.
|
||||
|
||||
`status` prints one row per enabled protocol with the selected platform provider,
|
||||
adapter, installed/running daemon probe, action, and policy result.
|
||||
|
||||
|
||||
@@ -150,6 +150,7 @@ daemon_policy = "auto"
|
||||
|
||||
```sh
|
||||
python3 -m ampg --config gateway.toml init site wownero --domain wownero.org --source ../wownero.org-website --preset full
|
||||
python3 -m ampg --config gateway.toml deploy plan --profile vps-full
|
||||
python3 -m ampg --config examples/wownero.gateway.toml plan
|
||||
python3 -m ampg --config examples/wownero.gateway.toml build
|
||||
python3 -m ampg --config examples/wownero.gateway.toml manifest
|
||||
|
||||
Reference in New Issue
Block a user