Deploy your app
Paste, upload, push from the terminal, deploy from git, or let your AI agent do it.
What can be deployed
| You have | Vektor does |
|---|---|
A single index.html (or a folder of HTML, CSS, JS) | Serves it as a website |
package.json with a start script | Installs dependencies and runs it with Node.js |
| A Vite, React or Next.js static project | Builds it (npm run build) and serves the output |
A Dockerfile | Builds and runs the image |
Server apps must listen on process.env.PORT. Files that must survive restarts belong in /data (VEKTOR_DATA_DIR).
Ways to deploy
- Dashboard: paste HTML, drop a folder or .zip, or use a template.
- Terminal:
vektor push <name>in the project folder. Add--org <org>to publish to a team. - Git:
vektor git connect <repo> --app <name>deploys every push to the chosen branch; other branches become previews. - AI agents:
vektor mcp configprints the settings for Claude Code, Cursor or Codex, which can then deploy, read logs and roll back for you.
Releases, previews and rollback
- Every deploy is a numbered release.
vektor rollbackreturns to the previous one in seconds. vektor push --preview <name>publishes a preview at its own address with the same sign-in and settings.- Organizations can protect production so that changes go out only through an approved preview.
vektor.json
Optional settings that travel with the code:
| Key | Example | What it does |
|---|---|---|
description | "Expense claims" | Shown on the dashboard and in search |
public | ["/webhooks/*"] | Paths anyone may open (webhooks, public forms) |
cron | [{"name": "daily", "schedule": "0 9 * * 1-5", "path": "/api/report"}] | Scheduled calls to your app |
cost_center | "FIN-1200" | Tag for cost allocation reports |
classification | "confidential" | Data class: public, internal, confidential or restricted |