From 11453fe8b3e657c7397021d6cbe6c6729296d334 Mon Sep 17 00:00:00 2001 From: 001ProMax <101964350+001ProMax@users.noreply.github.com> Date: Wed, 1 Apr 2026 19:36:15 +0800 Subject: [PATCH] Create vercel.md --- docs/vercel.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 docs/vercel.md diff --git a/docs/vercel.md b/docs/vercel.md new file mode 100644 index 0000000..494774b --- /dev/null +++ b/docs/vercel.md @@ -0,0 +1,33 @@ +## Deploying VERT on Vercel + +### 1. Click the Vercel Deploy Button + +[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/VERT-sh/VERT&project-name=VERT&repository-name=VERT) + +### 2. Configure build settings + +| Setting | Value | +|-------------------|-----------------| +| Framework Preset | `SvelteKit` | +| Build Command | `bun run build`| +| Output Directory | `build` | +| Install Command | `bun install` | + +### 3. Set environment variables + +| Variable | Example Value | Description | +|-------------------------------------|---------------------------------|------------| +| `PUB_ENV` | `production` | Application environment (required for SvelteKit static build) | +| `PUB_HOSTNAME` | `vert.sh` | Hostname for analytics tracking | +| `PUB_PLAUSIBLE_URL` | `https://plausible.example.com` | Plausible Analytics URL (leave empty to disable) | +| `PUB_VERTD_URL` | `https://vertd.vert.sh` | VERT daemon for video conversion | +| `PUB_DISABLE_ALL_EXTERNAL_REQUESTS` | `false` | Set `true` to block all external requests | +| `PUB_DISABLE_FAILURE_BLOCKS` | `false` | Set `true` to prevent blocking on repeated video conversion failures | +| `PUB_DONATION_URL` | `https://donations.vert.sh` | Stripe donation URL | +| `PUB_STRIPE_KEY` | `` | Stripe public key | + +### 4. Deploy + +Click **Deploy**. Vercel will build the project with SvelteKit using the settings above. + +This method uses Vercel’s native build system and is easy to update and maintain.