mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
6866f91f10
Moved files to improve project organization: 📦 Scripts → /scripts: - dev-server.js - generate_agents_api.py - generate_claude_jobs.py - generate_components_json.py - generate_trending_data.py - sync-api.sh 📚 Documentation → /docs/guides: - claude-jobs.md (was CLAUDE_JOBS_README.md) - deployment.md (was DEPLOYMENT.md) - discord-bot-setup.md (was DISCORD_BOT_SETUP.md) - growth-kit-pr.md (was GROWTH_KIT_PR.md) 🖼️ Images → /docs/images: - social-preview.png Updated all references: - .github/workflows/update-json-data.yml - CLAUDE.md - docs/CLAUDE.md - docs/api/README.md - docs/guides/growth-kit-pr.md - cli-tool/src/validation/README.md Result: - Root directory reduced from ~24 files to 13 essential config files - Better separation of concerns (scripts, docs, images) - Follows industry-standard project structure - Easier navigation and maintenance 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
🚀 Deployment Guide
This project is configured for automatic deployment to Vercel from the main branch.
GitHub Actions Setup
Required Secrets
Add these secrets to your GitHub repository settings:
-
VERCEL_TOKEN: Your Vercel account token
- Go to Vercel Account Settings
- Create a new token with appropriate permissions
- Add as
VERCEL_TOKENin GitHub Secrets
-
VERCEL_ORG_ID: Your Vercel organization ID
- Run
vercel linkin your project - Copy the
orgIdfrom.vercel/project.json - Add as
VERCEL_ORG_IDin GitHub Secrets
- Run
-
VERCEL_PROJECT_ID: Your Vercel project ID
- Run
vercel linkin your project - Copy the
projectIdfrom.vercel/project.json - Add as
VERCEL_PROJECT_IDin GitHub Secrets
- Run
Getting the IDs
Run these commands in your project root:
# Link to Vercel project
vercel link
# Get your IDs from the generated file
cat .vercel/project.json
Deployment Flow
- ✅ Push to main → Automatic production deploy to aitmpl.com
- ✅ Other branches → Manual deploy only (no auto-deploy)
- ✅ Pull Requests → No deployment
Manual Deployment
For testing other branches:
# Deploy current branch to preview URL
vercel
# Deploy current branch to production
vercel --prod
Domain Configuration
The main branch deploys to the custom domain: aitmpl.com
Configured in Vercel dashboard under Project Settings → Domains.