Void Platform Tutorial: First Deployment & CLI Setup Guide - guide

Void Platform Tutorial: First Deployment & CLI Setup Guide

Learn the Void Platform workflow: install on Cloudflare, connect projects, authenticate, run void deploy, manage domains, and secure CI secrets.

2026-10-17
Void Platform Wiki Team
Quick Guide
  • Void Platform is a developer tool for deploying and managing web apps on Cloudflare.
  • Two control modes: use the Void CLI or the web dashboard for deployment and administration.
  • Core workflow: authenticate, connect a project, review settings, then run void deploy.
  • Self-hosted: install the platform into your own Cloudflare account.
  • Credential hygiene: keep user sessions, project credentials, and admin tokens separate.

What Is Void Platform?

Void Platform is a cloud deployment and platform management tool built around the Void CLI and a Cloudflare-based runtime. It consolidates project management, authentication, databases, storage, logs, deployment controls, and rollback into a single environment, which makes it a practical choice for teams shipping modern web applications.

The architecture splits cleanly into three layers: a local project connected through the CLI, the platform API that manages projects and users, and Cloudflare resources that run your deployed applications. You can install the platform into your own Cloudflare account, configure application domains, and administer everything through supported login methods.

Know Your Layers

A user login session identifies a person, a platform connection binds a project to the platform, project credentials serve application workflows, and administrator tokens handle platform-wide automation. Mixing these up is the most common source of access errors.

Core CLI Commands

The CLI is the heart of every Void Platform tutorial. Commands fall into distinct categories, and using them in the right order — init, auth, connect, deploy — keeps the workflow predictable.

CategoryCommandPurposeTypical Use Case
Initializationvoid initInitialize project configurationStarting a new project or repo
Authenticationvoid auth loginCreate an interactive login sessionLocal development, admin work
Platform Connectionvoid platform connectLink a project to the platformAfter auth, before deploying
Deploymentvoid deployBuild and deploy the projectManual releases or CI pipelines
Logsvoid logsInspect deployment and runtime logsDebugging failed deployments
Databasevoid dbDatabase-related operationsCoordinating migrations with deploys
Secretsvoid secretsManage sensitive configurationKeeping credentials out of the repo
Domainsvoid platform installationConfigure domain routing and DNSCustom domains and HTTPS setup
Authenticate Before Connecting

Run void auth login and verify the active account before void platform connect. Connecting a repository to the wrong platform account or project is easy to miss and annoying to unwind later.

Step-by-Step: Your First Deployment

This is the beginner path from an empty project to a live application. Each step builds on the previous one, so keep your terminal session active throughout.

1

Create or prepare a project

Start with the application you want to deploy. Use a dedicated project directory and make sure your project configuration is ready before connecting anything. Run void init to initialize the Void project configuration in the current directory.

2

Authenticate and connect to the platform

Run void auth login to establish a user session, then void platform connect to bind the local project to the intended Void Platform project or environment. Confirm the account and project context when prompted.

3

Review deployment settings

Before deploying, verify the target application, deployment platform, project name, and resource settings. A quick review here prevents most failed first deployments.

4

Run void deploy and monitor status

Execute void deploy from the project directory. Keep the terminal open, watch the build and deployment output, and use void logs to review the result once the process completes.

5

Handle issues with rollback controls

If a deployment is interrupted or breaks the application, use the platform's cancellation and rollback controls to return to the previous stable state, then inspect logs before retrying.

Deployment Safety Net

Void Platform supports deployment interruption handling, cancellation, and rollback. You are not stuck with a broken release — revert to the last stable state, check logs, and redeploy.

Installing Void Platform on Cloudflare

Installing the platform into your own Cloudflare account is a self-hosted workflow with five key configuration decisions.

Platform Name

  • Identifies the installation in your Cloudflare account
  • Used across administration workflows

Application Domain

  • Hostname for the platform and management interface
  • Plan DNS and HTTPS before installation

Login Method

  • Choose how users sign in: GitHub, Google, OIDC, or other configured providers
  • Enabled by the platform administrator

Test Mode and Resources

  • Workers Dev test mode for temporary validation
  • Configure database and storage resources during setup

You can choose an interactive installation flow for guided prompts or command-line installation when you need a repeatable, scriptable setup.

Installation AspectInteractive FlowCommand-Line Flow
Best forFirst-time setup, explorationRepeatable, automated installs
ConfigurationGuided step-by-step promptsCLI-provided parameters
Domain setupPrompted during flowPredefined in command
Skill levelBeginner-friendlyComfortable with CLI
Domain Planning

Reserve workers.dev addresses for testing only. Pick a stable production hostname early, confirm certificate coverage, and plan wildcard DNS when multiple nested hostnames share a parent domain.

Authentication, Domains, and CI Security

Authentication in Void Platform is layered, and choosing the right credential type for each scenario matters both for security and for avoiding broken automation.

ScenarioCredential TypeKey Rule
Platform administrationAdministrator accessKeep separate from app and CI credentials
Developer workflowsPersonal login sessionNever shared between team members
Application integrationProject credentialsScope to one project or environment
CI/CD pipelinesNon-interactive credentialsStore in CI encrypted secrets only
Extra access layerCloudflare AccessNot a replacement for platform auth

For CI deployments, classify every secret before storing it. Cloudflare configuration, database URLs, JWT signing secrets, R2 bucket credentials, and project encryption keys all belong in the CI provider's encrypted secret store — never in source control.

Secret CategoryStorageHandling Rule
Cloudflare credentialsCI encrypted secretsNarrowest permissions; never committed
Database configEnvironment-specific secretsSeparate staging and production values
JWT signing secretProtected env variablesRotate through a planned process
R2 credentialsEncrypted CI secretsNo client-side embedding
Encryption keyRestricted platform configNever expose in logs; plan migrations
Environment Variables Are Not Automatically Safe

Classify every variable before storage. A value is not safe merely because it is named an environment variable — sensitive values still belong in protected configuration, not the repository.

Deployment Readiness Checklist

Before You Deploy:

  • Project initialized with void init
  • Authenticated with void auth login
  • Project connected via void platform connect
  • Target platform and project name verified
  • Domain, DNS, and HTTPS configured
  • Secrets stored outside the repository
Where to Go Next

Official documentation covers the full CLI reference, platform installation, domains, and CI setup at void.cloud. Start with the first deployment guide and the CLI reference if you want deeper command detail.

FAQ

Q: What is Void Platform used for?

Void Platform is a cloud deployment and platform management tool for developers. It lets you deploy web applications to Cloudflare, manage projects, users, authentication, domains, databases, storage, logs, and rollbacks through a CLI and web dashboard.

Q: Do I need my own Cloudflare account to use Void Platform?

Yes. Void Platform is self-hosted in your own Cloudflare account. During installation you configure the platform name, application domain, login method, test mode, and database and storage resources.

Q: Can I deploy from CI without a browser login?

Yes. CI jobs should use non-interactive project credentials stored in the CI provider's encrypted secret store. Run `void deploy` from the CI job after authentication and project context are configured.

Q: What should I do if a deployment fails or breaks my app?

Use the platform's deployment controls to cancel or interrupt the active workflow, then roll back to the previous stable state. Inspect `void logs` to diagnose the failure before retrying the deployment.