Files
RustProxy/scripts/README.md
T
2026-10-13 00:00:06 +02:00

19 lines
1.1 KiB
Markdown

# Application scripts
This directory contains scripts coupled to RustProxy application/build/deployment behavior.
External development and QA helpers live under `tools/`; external platform integrations live under `integrations/`.
- `runtime/` - application-owned helpers embedded or invoked by RustProxy (`acme_provider.py`).
- `build/` - build-time asset preparation used by `build.rs`.
- `deploy/` - install/update and stopped source-tree upgrade implementation.
- `migration/` - application migration utilities, currently the Nginx Proxy Manager importer.
Keep these paths stable because Rust source, `build.rs` and shell entry points reference them directly.
## Stream TCP/UDP test helpers
- `start_stream_backends.sh` — launches two TCP echo mocks (9101, 9102) and two UDP echo/probe mocks (9201, 9202), defaulting to loopback, and terminates all on Ctrl+C.
- `test_stream_tcp.py`, `test_stream_udp.py` — independent `server`, `client` and `selftest` modes. See `docs/STREAMS.md` for RustProxy listener setup and test commands.
The selftests test only Python mock peers, **not** RustProxy forwarding.