HTTP + environment variables
Small HTTP server like http-hello, but reads process.env so you can verify config and secrets injected at runtime (local shells, containers, or Zectre deployments).
Features used
http—serve()and request handlingprocess—process.envforPORT,TEST, andDEPLOYMENT_ID
Endpoints
Environment variables
Example:
export PORT=3000
export TEST=local-dev
export DEPLOYMENT_ID=my-deployment
tish run src/main.tish --features http,process
# curl http://127.0.0.1:3000/Local development
From this directory (tish repo root is ../..):
cargo run -p tishlang --manifest-path ../../Cargo.toml --release --features http,process -- run src/main.tish --features http,processOr with tish installed:
tish run src/main.tish --features http,processDeploy
Includes tish.yaml: HTTP app, /health check, two replicas, rolling strategy. Deploy with Zectre from this directory. See Deploy overview.