Documentation Index
Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Building and deploying
Production builds, static export, and deployment targets. Veryfront Cloud is the primary managed deployment path. The same runtime can also be self-hosted or deployed on other infrastructure. The npm package, CLI, and import name remainveryfront.
Prerequisites
- A Veryfront project that runs with
veryfront dev. - Production credentials for any LLM providers and other integrations the app uses.
- For Veryfront Cloud: a
VERYFRONT_API_TOKENand a project reference. - For self-hosted: a deploy target (container host, Node host, or static host) that can serve the build output.
Build
Create a production build:dist/ directory (configurable via build.outDir).
Start
Run the production server:Deploy to Veryfront Cloud
https://<slug>.production.veryfront.com.
Preview deployments
Every branch gets a preview URL:https://<slug>--feature-x.preview.veryfront.com.
Environment variables
Set production environment variables on your deployment platform. At minimum, set your LLM provider keys:Build configuration
Customize the build inveryfront.config.ts:
Docker
For self-hosted deployments:Verify it worked
Afterveryfront build:
dist/(or your configuredoutDir) contains compiled assets.veryfront startserves the build locally on port3000. Hit/and any API route withcurland confirm responses match the dev server.
veryfront deploy:
- The CLI confirms the deployed release and environment.
- Run
veryfront opento open the deployed project in a browser. - Use
veryfront open --jsonwhen you need the deployed URL in terminal output or automation. - Confirm the home page and any API routes respond on the deployed host.
- The Cloud dashboard lists the new deployment under the project.
Next
- Head and SEO: optimize for search engines
- Configuration: all configuration options
Related
veryfront(root):defineConfig, build optionsveryfront/server: production server APIsveryfront/observability: tracing, metrics, and runtime logsveryfront/utils: runtime constants and logging helpers