- Repository forked:
christophernemala/tutorialkit - Default branch:
main - Repository visibility: Public
- GitHub Actions enabled
-
vercel.jsoncreated with production settings - Build command:
pnpm install && pnpm build - Output directory:
docs/tutorialkit.dev/dist - Node version: 18.18.0
- pnpm version: 8.15.6
- GitHub Actions workflow created:
.github/workflows/deploy-production.yml - Quality checks stage configured
- Build stage configured
- Deploy stage configured
- Preview deployment for PRs configured
- Cross-Origin-Embedder-Policy: require-corp
- Cross-Origin-Opener-Policy: same-origin
- X-Content-Type-Options: nosniff
- X-Frame-Options: DENY
- X-XSS-Protection: 1; mode=block
- Referrer-Policy: strict-origin-when-cross-origin
- HTTPS enforced
- Cross-origin isolation enabled
- Service Workers enabled
- WebAssembly support enabled
- SharedArrayBuffer available
- Immutable assets: 1 year cache
- Service Worker: no cache
- Static files: optimized caching
- CDN distribution enabled
- Asset minification enabled
- Code splitting configured
- Tree shaking enabled
- Image optimization enabled
- Font optimization enabled
- DEPLOYMENT.md created
- .env.example created
- Production checklist created
- Troubleshooting guide included
# Install Vercel CLI
npm i -g vercel
# Login to Vercel
vercel loginOption A: Via Vercel Dashboard
- Go to https://vercel.com/new
- Import Git Repository
- Select:
christophernemala/tutorialkit - Configure project:
- Framework Preset: Other
- Build Command:
pnpm install && pnpm build - Output Directory:
docs/tutorialkit.dev/dist - Install Command:
pnpm install --frozen-lockfile
Option B: Via CLI
cd /path/to/tutorialkit
vercel linkIn Vercel Dashboard → Settings → Environment Variables:
NODE_VERSION=18.18.0
PNPM_VERSION=8.15.6
NODE_OPTIONS=--max-old-space-size=4096
ASTRO_TELEMETRY_DISABLED=1
ENABLE_EXPERIMENTAL_COREPACK=1
# Link project first
vercel link
# Get credentials from .vercel/project.json
cat .vercel/project.jsonCopy these values:
orgId→VERCEL_ORG_IDprojectId→VERCEL_PROJECT_ID
Create Vercel token:
- Go to https://vercel.com/account/tokens
- Create new token →
VERCEL_TOKEN
Go to: https://github.com/christophernemala/tutorialkit/settings/secrets/actions
Add secrets:
VERCEL_TOKENVERCEL_ORG_IDVERCEL_PROJECT_ID
# Commit and push to trigger CI/CD
git add .
git commit -m "feat: configure production deployment"
git push origin mainOr deploy manually:
vercel --prod- GitHub Actions workflow completed successfully
- Vercel deployment status: Ready
- Production URL accessible
- HTTPS certificate active
- Homepage loads correctly
- Navigation works
- WebContainer initializes
- Code editor functional
- Terminal functional
- File system operations work
- Preview pane renders
# Check headers
curl -I https://your-domain.vercel.app
# Expected headers:
# cross-origin-embedder-policy: require-corp
# cross-origin-opener-policy: same-origin
# x-content-type-options: nosniff
# x-frame-options: DENY- Lighthouse score: 95+ (all categories)
- First Contentful Paint: < 1.5s
- Time to Interactive: < 3.5s
- Largest Contentful Paint: < 2.5s
- Cumulative Layout Shift: < 0.1
// Open browser console on deployed site
// Check for WebContainer availability
console.log('SharedArrayBuffer:', typeof SharedArrayBuffer !== 'undefined');
console.log('Service Worker:', 'serviceWorker' in navigator);
console.log('WebAssembly:', typeof WebAssembly !== 'undefined');- Static assets served from CDN
- Cache headers correct
- Immutable assets cached for 1 year
- Service Worker cache policy correct
- Analytics enabled in Vercel dashboard
- Web Vitals tracking active
- Error tracking configured
- Workflow notifications enabled
- Build status badge added to README
- Deployment logs accessible
Option 1: Vercel Dashboard
- Go to Deployments
- Find last successful deployment
- Click "Promote to Production"
Option 2: CLI
vercel rollbackOption 3: Git Revert
git revert HEAD
git push origin main- Repository configured
- Build pipeline functional
- Deployment automation active
- Security headers configured
- Performance optimized
- WebContainer compatible
- CDN enabled
- Monitoring active
- Rollback capability verified
-
Custom Domain (Optional)
vercel domains add your-domain.com
-
Team Collaboration
- Add team members in Vercel dashboard
- Configure branch protection rules
- Set up deployment notifications
-
Advanced Monitoring
- Integrate Sentry for error tracking
- Set up uptime monitoring
- Configure performance budgets
-
Continuous Improvement
- Monitor Web Vitals
- Optimize bundle size
- Update dependencies regularly
- Review security headers
- TutorialKit Docs: https://tutorialkit.dev
- Vercel Docs: https://vercel.com/docs
- GitHub Actions: https://docs.github.com/actions
- WebContainer API: https://webcontainers.io
Deployment Status: ✅ READY FOR PRODUCTION
Configuration Complete: 2026-01-29
Target Platform: Vercel
Deployment Mode: Automated (CI/CD)
Estimated Deployment Time: 5-10 minutes
# One-command deployment
vercel --prodThat's it! Your TutorialKit platform is production-ready! 🎉