DeploymentsCloud
Vercel
How to deploy your Vitnode app on Vercel.
This documentation is under construction! 🚧
We're working hard to bring you the best documentation experience.
Limitations
Some features of Vitnode are not supported on Vercel due to its serverless architecture. These include:
- Self-hosted static files
- WebSockets
Requirements
- A Vercel account
- Your project pushed to a Git repository (GitHub, GitLab, or Bitbucket)
- PostgreSQL database (can be hosted on Supabase)
Deployment Guide
Generate migrations
Run the following command to generate migrations for your Vitnode project:
Generate Migrations
bun db:migratepnpm db:migratenpm run db:migrateUpload your project / changes to Git
Make sure your Vitnode project is pushed to a Git repository.
Sign in to Vercel
Go to Vercel and sign in.
Create a New Project
Click on "New Project" in your Vercel dashboard. Select the repository where your Vitnode project is hosted.