Home / Docs / Operations / vercel setup

Vercel + private GitHub setup

One-time setup to deploy this docs app as a private Vercel project from a private GitHub repo.

Prerequisites

1. Authenticate (if needed)

# GitHub — follow prompts to log in
gh auth login -h github.com

# Vercel — opens browser to log in
vercel login

2. Create private GitHub repo and push

From the project root:

# Create a new private repo, add it as origin, and push (creates repo on first push)
gh repo create llm-platform --private --source=. --remote=origin --push

If the repo already exists elsewhere and you want a new empty private repo:

gh repo create llm-platform --private --clone=false
git remote add origin https://github.com/YOUR_USERNAME/llm-platform.git
git add -A && git commit -m "Initial commit: docs app and platform docs"
git push -u origin master

3. Deploy on Vercel as a private project

Option A — Vercel dashboard (recommended for “private project”)

  1. Go to vercel.com/new
  2. Import your GitHub repo llm-platform
  3. Leave framework preset as Next.js (detected from package.json / vercel.json)
  4. Click Deploy
  5. After deploy: Project Settings → General → Project Visibility → set to Private if your team uses Vercel’s private projects

Option B — Vercel CLI

From the project root:

# Link this folder to a new Vercel project (follow prompts; choose your team/account)
vercel link

# Deploy to production
vercel --prod

Then in the Vercel dashboard: open the project → Settings → General → set Project Visibility to Private if desired.

4. Connect GitHub for auto-deploys (optional)

If you used the CLI and the repo wasn’t connected automatically:

  1. Open Vercel Dashboard → your llm-platform project.
  2. Go to Settings → Git.
  3. Connect GitHub and choose the Prato/llm-platform repo (grant Vercel access to the repo if prompted).
  4. Future pushes to master will trigger production deployments.

5. Make the Vercel project private

  1. In the Vercel dashboard, open the project → Settings → General.
  2. Under Project Visibility, set to Private (available on Pro/Enterprise; on Hobby the project is only visible to you).

Summary (current state)

ItemStatus
GitHubPrivate repo: github.com/Prato/llm-platform
VercelProject linked and deployed; production: llm-platform-nine.vercel.app
Git → VercelConnect in Dashboard → Settings → Git if you want push-to-deploy
Private projectSet in Dashboard → Settings → General → Project Visibility