Void Platform Scaffold: Setup & Deployment Walkthrough - features

Void Platform Scaffold: Setup & Deployment Walkthrough

Learn how the Void Platform scaffold works: CLI setup, Cloudflare installation, first deployment, domains, auth, and CI secrets in one guide.

2026-10-17
Void Platform Wiki Team
Quick Guide
  • Void Platform scaffold defines the standard path from project init to live deployment
  • Two setup paths: interactive installer or scriptable CLI installation on Cloudflare
  • Core flow: void init → void auth login → void platform connect → void deploy
  • Security rule: keep Cloudflare, database, JWT, and encryption secrets in CI encrypted storage
  • Domain planning: align DNS, HTTPS certificates, and routing before production traffic

What the Void Platform Scaffold Includes

The Void Platform scaffold is the standard structure that carries an application from a local project directory to a running deployment inside your own Cloudflare account. It bundles project management, authentication, databases, storage, logs, deployment controls, and rollback into a single workflow, as described in the official platform docs.

Instead of assembling deployment infrastructure piece by piece, the scaffold gives every project the same shape: a CLI connection to the platform, a project identity, a deployment target, and an operational surface for logs and rollbacks.

Cloudflare Deployment

  • Deploy applications through a managed platform workflow
  • Configurable application domains
  • Interactive and command-line installation

Project & Access Management

  • Project creation and association
  • Platform login configuration
  • Team-oriented application management

Data & Operations

  • Database and storage resources
  • Deployment status and logs
  • Rollback and cancellation controls

The scaffold layers separate cleanly, which is what makes it repeatable across projects and environments:

LayerResponsibilityKey Tooling
PlatformHosts installations, users, and resourcesDashboard, void platform connect
ProjectGroups one application and its environmentsvoid init, void setup
DeploymentBuilds and ships application versionsvoid deploy
OperationsLogs, health, events, rollbackvoid logs, platform controls
SecurityAuth, credentials, secrets, Zero Trustvoid auth, void secrets
Scaffold Mindset

Treat the scaffold as a contract: installation answers "how it starts," deployment answers "how it ships," CLI answers "how it's driven," and operations answer "how it runs after launch." Keep each concern in its own lane when troubleshooting.

Installation: Building the Scaffold in Cloudflare

Installation establishes the Cloudflare-based environment that every later deployment depends on. You can follow an interactive installation flow or use the command-line installer when you need a repeatable, scriptable setup.

1

Choose the installation method

Pick interactive installation for guided prompts, or CLI installation for automation-friendly, repeatable configuration. Both produce the same platform structure.

2

Set the platform name

Define the name that identifies this Void Platform installation inside your Cloudflare account and administration workflows.

3

Configure the application domain

Specify the domain used to reach the platform and its management interface. Plan DNS ownership before this step.

4

Select login and authentication settings

Choose how users sign in — including GitHub, Google, or OIDC when enabled — and confirm platform access configuration.

5

Review Workers Dev test mode and resources

Decide whether Workers Dev test mode should be enabled, and configure the database and storage resources the installation requires.

SettingInteractive InstallCLI Install
Best forFirst-time setup, explorationAutomation, repeatable environments
Configuration styleGuided promptsCLI flags and workflow input
Test modePrompted during setupSet via installation parameters
RepeatabilityManual each timeScriptable and versionable
Before You Install

Confirm your Cloudflare account context, domain control, and required resource plan before starting. Changing the platform name or application domain after installation is a coordinated change, not a quick edit.

First Deployment: The Scaffold in Motion

Once the platform is installed, the scaffold's deployment path takes over. The first deployment guide walks through the full sequence from an empty project to a reachable application.

1

Create or prepare a project

Start from a dedicated project directory with application files and configuration ready. Run void init or void setup to establish the project context.

2

Connect to the platform

Run the setup workflow to link the local project with Void Platform, completing authentication when prompted and selecting the intended platform account.

3

Review deployment settings

Before deploying, verify the target platform, project name, and application settings. A wrong project selection is the most common first-deployment mistake.

4

Deploy and monitor

Run void deploy, keep the session open, and watch CLI output and deployment status until the process completes. Use void logs to inspect any failures.

The CLI commands that drive the scaffold cover the full application lifecycle:

CategoryCommandPurpose
Initializationvoid initInitialize Void project configuration in the current directory
Authenticationvoid auth loginCreate an interactive CLI login session
Platform connectionvoid platform connectConnect the local project to a platform environment
Deploymentvoid deployBuild and deploy the current project
Logsvoid logsInspect application or deployment logs
Databasevoid dbRun database-related project operations
Secretsvoid secretsManage sensitive configuration values
Recovery Controls

If a deployment goes wrong, the scaffold includes interruption handling, cancellation, and rollback to a previous stable state — you don't need to redeploy from scratch to recover.

Domains, Routing, and Configuration

Domain configuration is where scaffold mistakes surface in production. Plan the application hostname, DNS, HTTPS coverage, and routing together so traffic reaches the intended environment, following the domains guide.

  • Choose the application domain: a stable production hostname, plus separate staging or preview hostnames when isolation matters
  • Prepare DNS records: update the authoritative zone with the record type and target the installer specifies
  • Enable HTTPS coverage: confirm the certificate covers the exact hostname, and plan wildcards for nested hostnames
  • Check routing conflicts: verify no duplicate hostname assignments or competing wildcard routes capture requests
  • Handle domain changes carefully: add and validate the new domain before removing the old one, and update OAuth callbacks and webhooks that reference the old hostname
Domain TypeRecommended UseCaution
Custom production domainPublic trafficVerify certificate coverage first
Nested hostnamesEnvironments, tenants, servicesWatch wildcard and inheritance behavior
workers.dev addressTesting and validationAvoid using for production traffic
Domain Changes Are Coordinated Changes

A hostname switch touches DNS, certificates, routing, environment variables, and external integrations simultaneously. Plan the transition and keep redirects in place rather than swapping domains abruptly.

Authentication and CI Secrets

Void Platform authentication has distinct layers, and mixing them is the fastest way to create security gaps. A user login session identifies a person; a platform connection associates a project; project credentials act for a workflow; administrator tokens carry platform-wide power.

Credential TypeWho It RepresentsRecommended For
Administrator accessPlatform ownerInstallations, teams, access policy
Team member loginAn individual personLocal development, interactive work
Project credentialsA specific projectApp integrations, deployment workflows
CI credentialsAn automation jobNon-interactive pipeline deployments
Cloudflare Access identityAn access-control layerIdentity-aware protection of admin surfaces

For CI, keep every sensitive value out of the repository and inside the CI provider's encrypted secret store:

  • Cloudflare configuration: dedicated credential with the narrowest permissions, exposed only to the deployment step
  • Database configuration: separate staging and production values; never print connection strings in build logs
  • JWT secrets: long-lived credentials rotated through a planned process
  • R2 configuration: per-environment bucket credentials, never embedded in client-side code
  • Project encryption key: never committed or logged; replaced only with a migration plan for encrypted data
Scope Down by Default

Prefer project-scoped credentials for ordinary deployments and reserve administrator tokens for tasks that genuinely require platform-wide access. Rotate credentials whenever team ownership changes.

Scaffold Readiness Checklist

Before you consider a Void Platform scaffold production-ready, work through this checklist:

Production Readiness:

  • Platform installed with a confirmed name and application domain
  • Project connected and first deployment verified end to end
  • HTTPS certificate covers every production hostname
  • Authentication layers separated for admins, members, and CI
  • All secrets stored in CI encrypted storage, none in the repository

Q: What is the Void Platform scaffold?

It is the standard project-to-production structure of Void Platform: CLI project initialization, platform connection on Cloudflare, deployment via void deploy, and an operational layer for logs, rollback, domains, and secrets.

Q: Should I use interactive or CLI installation?

Use interactive installation for a guided first-time setup. Use CLI installation when you need a repeatable, scriptable process, such as recreating environments or provisioning through automation.

Q: How do I recover from a failed deployment?

Use void logs to inspect the failure, then the platform's deployment controls to cancel an interrupted deployment or roll back to the previous stable state. Redeploying from scratch is rarely necessary.

Q: Which credentials should CI pipelines use?

Use non-interactive, project-scoped credentials stored in the CI provider's encrypted secret store. Keep database, JWT, R2, Cloudflare, and encryption values separate per environment, and never commit them to source control.