Quick Start
This guide will walk you through deploying your first application with brdz.
Prerequisites
Section titled “Prerequisites”- brdz CLI installed (see Installation)
- A static website or application packaged as a ZIP file
Step 1: Create an Account
Section titled “Step 1: Create an Account”First, create a new account:
brdz accounts:createYou’ll be prompted to enter your account details.
Step 2: Login
Section titled “Step 2: Login”Authenticate with your account to get an API key:
brdz auth:loginThis will store your credentials in ~/.brdz/credentials for future use.
Step 3: Create a Project
Section titled “Step 3: Create a Project”Projects help you organize related applications:
brdz projects:create my-projectStep 4: Set Your Context
Section titled “Step 4: Set Your Context”Set your working context to avoid repeating project names:
brdz ctx:useThis interactive command will prompt you to select your project. Your selection is saved in ~/.brdz/context.
Step 5: Create an App
Section titled “Step 5: Create an App”Create an application within your project:
brdz apps:create my-appUpdate your context to include the new app:
brdz ctx:useStep 6: Deploy Your First Release
Section titled “Step 6: Deploy Your First Release”Package your application as a ZIP file and deploy it:
# Assuming your built app is in ./distzip -r release.zip dist/
# Create a releasebrdz releases:create release.zipYour application is now deployed! The release will be automatically activated.
Step 7: Add a Custom Hostname (Optional)
Section titled “Step 7: Add a Custom Hostname (Optional)”Add a custom domain to your application:
brdz hostnames:create example.comConfigure your DNS to point to the provided hostname.
Verify Your Deployment
Section titled “Verify Your Deployment”List your releases to confirm:
brdz releases:listList your apps:
brdz apps:listWhat’s Next?
Section titled “What’s Next?”- Learn about Projects and how to organize your work
- Explore Release Management for deployments and rollbacks
- Set up Custom Domains for your applications
- Manage DNS Zones and Records directly from the CLI
Common Workflows
Section titled “Common Workflows”Deploying an Update
Section titled “Deploying an Update”# Build your appnpm run build
# Package itzip -r release.zip dist/
# Deploybrdz releases:create release.zipRolling Back
Section titled “Rolling Back”# List releases to find the version to rollback tobrdz releases:list
# Rollback to a specific release IDbrdz releases:rollback 42Switching Between Projects
Section titled “Switching Between Projects”# Change your contextbrdz ctx:use
# View current contextbrdz ctx:get