Deployment overview
The general deployment process and how to choose between managed platforms, static hosting, and a VPS.
6 min readUpdated 2026-09
General process
- 01
Build locally
Run npm run build to make sure the project compiles.
- 02
Set environment variables
Configure the same variables from .env.local on your hosting platform.
- 03
Deploy
Connect your repository to a platform or upload the build to your server.
- 04
Attach your domain
Point DNS at the deployment and enable HTTPS.
Choosing a platform
| Option | Best for | Guide |
|---|---|---|
| Managed cloud platform | Fastest setup, automatic builds from Git | Deploying to a cloud platform |
| VPS / dedicated server | Full control, custom infrastructure | Deploying to a VPS |
| Static export | Very simple sites without server features | See the product's deployment notes |
Server features
Some products include server-rendered routes or form handlers. These require a Node.js runtime and cannot be deployed as a purely static export.