Deployments & Git4 min read•Updated September 2026

Build Commands & Output Directories

Customize build scripts, specify output directories, and configure monorepo subpaths for seamless compilation.

Build Settings Fundamentals

AcadSites inspects your repository to determine framework presets. However, complex projects with custom scripts or monorepos often require explicit build configuration. You can customize these in Project Settings > Build & Development Settings.

Standard Build Presets Table

Review recommended settings for the most popular modern web stacks:

FrameworkBuild CommandOutput DirectoryStart Command
Vite / Reactnpm run builddistN/A (Static Edge)
Next.js (Standalone)next build.nextnode .next/standalone/server.js
Astronpm run builddistN/A (Static Edge)
Static HTMLNone (empty)public or .N/A (Static Edge)
Express / Node.jsnpm run build (optional).npm start / node server.js

Monorepo & Subdirectory Configuration

In monorepos containing multiple packages (such as Turborepo, Nx, or pnpm workspaces), specify the Root Directory (e.g., apps/web). AcadSites will navigate into this folder before executing dependency installation and build commands.

Injecting Build-Time Variables

Public framework variables (such as NEXT_PUBLIC_* or VITE_*) must be available during build time. Ensure you add these under the Environment Variables tab before triggering your build.

Was this documentation page helpful?
Instant Edge Deployment

Ready to experience zero-overage cloud hosting?

Deploy your React, Next.js, or Node.js application in under 60 seconds with automated SSL.

Zero Overage LiabilityAutomated Edge SSLFree .acadkits.dev Subdomain