con un clic
railway
// Access Railway deployments, logs, and environment variables. Use when asked to check deployment status, view service logs, inspect or update environment variables, redeploy a service, or diagnose production issues on Railway.
// Access Railway deployments, logs, and environment variables. Use when asked to check deployment status, view service logs, inspect or update environment variables, redeploy a service, or diagnose production issues on Railway.
Development conventions and tooling for the telegramable monorepo. Use when working on code, dependencies, or builds.
Spec-Driven Development methodology for AI-assisted development. Use when working in a LeanSpec project.
| name | railway |
| description | Access Railway deployments, logs, and environment variables. Use when asked to check deployment status, view service logs, inspect or update environment variables, redeploy a service, or diagnose production issues on Railway. |
Interact with Railway services using the railway CLI. Authentication is via the RAILWAY_TOKEN environment variable — no login step needed.
RAILWAY_TOKEN must be set in the environment (set in Railway dashboard → project → Variables)railway CLI must be installed (npm install -g @railway/cli)# Stream live logs for a service
railway logs --service <service-name>
# Show recent logs (non-streaming)
railway logs --service <service-name> --tail 100
For Rust services, combine with RUST_LOG=debug in environment variables for verbose output.
# Status of the linked project
railway status
# List recent deployments
railway deployments
# List all variables for a service
railway variables --service <service-name>
# Set a variable
railway variables set KEY=VALUE --service <service-name>
# Delete a variable
railway variables delete KEY --service <service-name>
Caution: Setting variables triggers a redeploy. Confirm with the user before changing production variables.
# Trigger a redeploy of the latest deployment
railway redeploy --service <service-name>
railway link --project <project-id>
After linking, --project flags are optional for subsequent commands.
railway status
railway logs --service <name> --tail 200
railway variables set RUST_LOG=debug --service <name>
Then tail logs again to see detailed output.railway variables set RUST_LOG=info --service <name>
| Service | Stack | Notes |
|---|---|---|
stiglab-server | Rust | Control plane; uses RUST_LOG |
stiglab-agent | Rust | Node agent; uses RUST_LOG |
telegramable | Node.js | Telegram proxy; env vars control timeouts |
railway logs streams indefinitely; press Ctrl+C to stop--json flag on most commands for machine-readable output