Jules Autopilot is primarily deployed to Render using a Go-first architecture.
When setting up a new service on Render, configure the following:
- Build Command:
pnpm install && pnpm run build && cd backend-go && go build -o jules-backend main.go
- Start Command:
cd backend-go && ./jules-backend
Ensure these environment variables are set in your Render dashboard:
NODE_VERSION:20.20.2(Required for building Vite SPA)BUN_VERSION:1.3.4(Currently legacy fallback but recommended for consistency)GO_VERSION:1.26.0(Ensure this matches thego.modfile)CGO_ENABLED:1(Required by the wazero runtime and SQLite driver)JULES_API_KEY: Your master API key for orchestration.
-
Go Version Mismatches: If Render complains about
go.mod requires go >= x.y.z, ensure thatbackend-go/go.modspecifies exactly the Go version available in Render's environment (currently1.26.0), or userender.yamlto pin thegoversion explicitly. -
Frontend Build Failures: The React UI requires Node 20.x to compile correctly. If
pnpm run buildfails, verify thatNODE_VERSIONis explicitly set in Render. -
Out of Memory (OOM): The frontend build step (
vite build) can be memory intensive. On Free or Starter tiers, Vite may OOM. If this happens, configureNODE_OPTIONS=--max-old-space-size=4096.