Questa pagina non è ancora stata tradotta - viene mostrata la versione in English.

Building, Deploying & Publishing

Ship the site you've built - to any host, or straight to bxSites Cloud.

In questa pagina

Building, Deploying & Publishing

Back to where lesson 3 started:

bxSites build

site/ is now a complete, static, hostable folder - plain files, no runtime dependency on bx-sites or BoxLang at all once it's built. Ship it however you like.

Deploy to a real target

bxSites deploy

One command, over a dozen targets: S3 (and any S3-compatible service - DigitalOcean Spaces, Cloudflare R2, Backblaze B2, MinIO), Azure Blob Storage, Google Cloud Storage, Firebase Hosting, FTP, SFTP, rsync, Netlify, Vercel, Cloudflare Pages, GitHub Pages, or a local directory. Each target is a deployments/<name>.json file - bxSites deploy with no flags runs every one of them, off a single shared build.

Publish to bxSites Cloud

bxSites publish

Ships straight to bxSites Cloud, the hosting service this project itself targets - no target config needed beyond a cloud.siteId in bxsites.yaml and an API token in an environment variable.

Or just a zip

bxSites package

Bundles the built site into one distributable site.zip, for a release artifact or a host that only accepts a zip upload.

That's the course

Twenty lessons, start to finish - install, author, theme, extend, ship. Everything here has a full guide behind it for when you need more depth than a lesson gives; the Guides section is where to go next.

Full deploy target reference: Deployment.

Modifica questa pagina Scarica Markdown Ultimo aggiornamento Sep 11, 2026, 7:11:15 PM
Lesson 20 of 20 - Getting Started with bx-sites