Skip to content

The dash4devs CLI

Scaffold a store, build it, ship its assets to the CDN.

1 min readUpdated View as Markdown

Command What it does
npx dash4devs init Scaffold a new storefront wired to your organization.
npx dash4devs build next build, then upload .next/static and public/ to the CDN and switch the site to them atomically.
npx dash4devs deploy Build and deploy.
npx dash4devs status Which build is live, and whether the CDN has every asset.

build needs a secret key in the environment. Without one, or if the upload fails, it finishes as a plain next build with the site serving its own assets, so a CDN problem never takes your site down.

Deploying to DashForDevs Cloud? Cloud builds from your GitHub repository on every push; you do not need to run the CLI yourself.

Keep reading

Something wrong or missing on this page? Email support@dashfordevs.com.