-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started.md
Aldwin MOUTARLIER edited this page Oct 20, 2025
·
1 revision
This guide walks you from a fresh checkout to a running Orion environment on your laptop.
- Node.js 20+
-
pnpm(preferred package manager) -
bash(for provided helper scripts) - macOS, Linux, or WSL2
Optional but recommended:
-
mkcertoropensslfor generating local TLS certificates - A DigitalOcean, Cloudflare, or AWS account if you intend to test DNS automation
pnpm installThis bootstraps every workspace package (control plane, agent, CLI, dashboard, shared libraries).
scripts/dev.shThe script launches:
-
@orion/corecontrol plane (Fastify API + WebSocket) -
@orion/agentconnected to the local control plane -
@orion/dashboardon http://localhost:3000
pnpm --filter @orion/cli run dev
orion init # creates a baseline orion.yaml if missing
orion apply -f orion.yaml # deploys services from the repo examplesThe default orion.yaml deploys:
-
examples/simple-service(HTTP API on port 4000) -
examples/next-app(Next.js site) with live reload
Inspect the cluster using:
orion get services
orion get nodes
orion logs service/<name>Open http://localhost:3000 to monitor services, nodes, and heartbeats in real time. Future releases will stream logs and replica status directly in the UI.
- Review the Configuration Reference to tailor services, plugins, and DNS.
- Read the Architecture Overview to understand the control plane.
- Follow the Operations Playbook for multi-node or production-style setups.