Getting started
Development prerequisites
Prepare the SDK, client tools, containers and PDF browser before your first run.
Match the checked-in tool versions
Run version checks from the repository root. The selected .NET SDK depends on the nearest global.json; a successful check in another directory may select a different SDK.
| Tool | Requirement for this revision | Verify |
|---|---|---|
| .NET SDK | 11.0.100, with latestPatch roll-forward and prereleases disabled |
dotnet --version |
| Node.js | Client manifests allow ^20.19.0 || >=22.13.0; use a maintained compatible LTS |
node --version |
| npm | Available with Node; use the checked-in lockfiles | npm --version |
| Git | Required for cloning and normal contribution workflow | git --version |
| Docker | Running Linux-container engine | docker info |
| Compose | Needed for the Compose deployment path | docker compose version |
The project pins Aspire 17 and Microsoft.Playwright 1.65.2 in central package management. Do not independently upgrade those packages while preparing your first run.
Prepare Docker and network access
AppHost builds the bundled PostgreSQL 18.7 image and starts Valkey and RustFS. A first run needs access to the package feeds, container registries and the package sources used by the Docker recipes. A proxy or registry failure can leave the API waiting for a dependency; inspect the failing container before changing application code.
The PostgreSQL recipe is documented for Linux/amd64. On another architecture, validate the image and runtime explicitly rather than assuming an equivalent result. Reserve ports 5173 and 5174 for the React apps. AppHost's HTTPS profile uses port 15888 for the Aspire dashboard; use the actual service endpoints it reports.
Prepare HTTPS and packages
Trust the ASP.NET development certificate on platforms that support the command:
dotnet dev-certs https --trust
npm ci --prefix clients/admin
npm ci --prefix clients/dashboard
dotnet restore src/GhaylStack.slnx
These paths are for the source checkout. In a generated MyCompany application, the solution is src/MyCompany.slnx. Skip client commands only when you generated without frontend support. npm ci preserves the dependency graph recorded in each lockfile.
Install the PDF browser separately
PDF rendering uses the .NET Playwright driver. Build the API, then run its generated installer with PowerShell 7 (pwsh):
dotnet build src/Host/GhaylStack.Api -c Release
pwsh src/Host/GhaylStack.Api/bin/Release/net11.0/playwright.ps1 install chromium
On Linux, provisioning also needs browser OS dependencies; see PDF rendering. Install into a cache readable by the runtime account. Frontend browser tests have their own installation workflow in testing.
Check readiness to begin
If installed, g doctor checks .NET, Git, Docker, the template and selected ports. It does not check Node/npm or prove that a container can start; review the table above as well. Its SDK check accepts major versions 11 and newer, while this checkout's global.json remains the authoritative SDK selector.
Expected preparation results are a matching SDK, a responding Docker daemon and successful dependency restores. You have not yet validated database migrations or sign-in. Continue with quick start.
Sources
SDK selection, Admin manifest, Dashboard manifest, central packages, doctor checks and PostgreSQL recipe guide.