Skip to main content

Netlify Frontend

Deploy the OpenSync frontend to Netlify or Vercel.

Netlify Deploy

One-Click

Deploy to Netlify

Manual Deploy

1

Connect Repository

In Netlify, click New site from Git and connect your GitHub repository.
2

Configure Build

Set build settings: - Build command: npm run build - Publish directory: dist
3

Set Environment Variables

Add required environment variables (see below).
4

Deploy

Click Deploy site.

Vercel Deploy

One-Click

Deploy with Vercel

Manual Deploy

1

Import Project

In Vercel, click New Project and import your repository.
2

Configure

Framework preset will be detected automatically (Vite).
3

Environment Variables

Add required environment variables.
4

Deploy

Click Deploy.

Environment Variables

Set these in your hosting platform:
# Convex (required)
VITE_CONVEX_URL=https://your-deployment.convex.cloud

# WorkOS (required for auth)
WORKOS_API_KEY=sk_...
WORKOS_CLIENT_ID=client_...
WORKOS_COOKIE_PASSWORD=your-32-char-password
Remember to add your production URL to WorkOS CORS settings.

Build Settings

SettingValue
Build commandnpm run build
Output directorydist
Node version18+

Custom Domain

Both Netlify and Vercel support custom domains:
  1. Add your domain in the hosting dashboard
  2. Update DNS records as instructed
  3. Enable HTTPS (automatic)
  4. Update WorkOS redirect URIs

Preview Deployments

Both platforms support preview deployments for pull requests. Ensure preview URLs are added to WorkOS if you need auth to work in previews.