Vercel + private GitHub setup
One-time setup to deploy this docs app as a private Vercel project from a private GitHub repo.
Prerequisites
- GitHub CLI (
gh) installed and logged in - Vercel CLI (
vercel) installed and logged in
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”)
- Go to vercel.com/new
- Import your GitHub repo
llm-platform - Leave framework preset as Next.js (detected from
package.json/vercel.json) - Click Deploy
- 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:
- Open Vercel Dashboard → your llm-platform project.
- Go to Settings → Git.
- Connect GitHub and choose the Prato/llm-platform repo (grant Vercel access to the repo if prompted).
- Future pushes to
masterwill trigger production deployments.
5. Make the Vercel project private
- In the Vercel dashboard, open the project → Settings → General.
- Under Project Visibility, set to Private (available on Pro/Enterprise; on Hobby the project is only visible to you).
Summary (current state)
| Item | Status |
|---|---|
| GitHub | Private repo: github.com/Prato/llm-platform |
| Vercel | Project linked and deployed; production: llm-platform-nine.vercel.app |
| Git → Vercel | Connect in Dashboard → Settings → Git if you want push-to-deploy |
| Private project | Set in Dashboard → Settings → General → Project Visibility |