- Added 32 JSON metadata files for all AI coding tools - Generated 39 REST API endpoints for programmatic access - Created working examples in Python, JavaScript, and PowerShell - Set up GitHub Actions workflow for automated deployment - Enhanced README with comprehensive feature documentation - Added version comparison and automation tools - Updated 20+ documentation files - Ready for GitHub Pages deployment
7.2 KiB
🚀 Deployment Guide
Quick Deployment to GitHub Pages
Follow these steps to deploy your enhanced AI Coding Tools repository with all the new features.
Step 1: Commit and Push Changes
Check what's changed:
git status
Stage all changes:
git add .
Commit with a descriptive message:
git commit -m "feat: Add metadata system, REST API, examples, and CI/CD pipeline
- Added 32 JSON metadata files for all tools
- Generated 39 REST API endpoints
- Created working examples in Python, JavaScript, and PowerShell
- Set up GitHub Actions for automated deployment
- Enhanced README with comprehensive documentation
- Added version comparison and automation tools"
Push to GitHub:
git push origin main
Step 2: Enable GitHub Pages
Option A: Via GitHub Web UI (Recommended)
-
Go to your repository on GitHub:
https://github.com/sahiixx/system-prompts-and-models-of-ai-tools -
Click on "Settings" (top navigation)
-
Scroll down to "Pages" (left sidebar under "Code and automation")
-
Configure GitHub Pages:
- Source: Select "GitHub Actions" (NOT "Deploy from a branch")
- This will use the
.github/workflows/deploy.ymlfile we created
-
Click "Save"
-
Wait for deployment:
- Go to "Actions" tab
- You should see a workflow running
- Wait for the green checkmark (takes 2-3 minutes)
-
Access your site:
https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/
Option B: Via GitHub CLI (if installed)
# Enable GitHub Pages with GitHub Actions
gh api repos/sahiixx/system-prompts-and-models-of-ai-tools/pages `
--method POST `
--field source[branch]=main `
--field source[path]=/
Step 3: Verify Deployment
Check GitHub Actions:
# Open Actions page in browser
Start-Process "https://github.com/sahiixx/system-prompts-and-models-of-ai-tools/actions"
Monitor the workflow:
- Go to the "Actions" tab in your repository
- Click on the most recent workflow run
- Watch the build process
- Look for:
- ✅ Setup Node.js
- ✅ Setup Python
- ✅ Generate Metadata
- ✅ Generate API Endpoints
- ✅ Build Enhanced Site
- ✅ Deploy to GitHub Pages
Access your deployed site:
# Open the deployed site
Start-Process "https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/"
Step 4: Test Your Deployment
Test API Endpoints:
# Test the API index
curl https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/api/index.json
# Test a specific tool
curl https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/api/tools/cursor.json
Test with Python:
import requests
# Fetch all tools
response = requests.get('https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/api/index.json')
tools = response.json()
print(f"Found {len(tools['tools'])} tools")
# Fetch specific tool
cursor = requests.get('https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/api/tools/cursor.json').json()
print(f"Cursor has {len([k for k,v in cursor['features'].items() if v])} features")
Step 5: Update Repository Settings (Optional)
Add Website URL:
- Go to repository main page
- Click the gear icon next to "About"
- Add website:
https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/ - Add description: "Comprehensive collection of AI coding tools system prompts with metadata, REST API, and interactive site"
- Add topics:
ai,coding-tools,system-prompts,api,metadata - Click "Save changes"
Troubleshooting
If deployment fails:
Check Node.js version in workflow:
# In .github/workflows/deploy.yml
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20' # Make sure this is correct
Check Python version:
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11' # Make sure this is correct
View workflow logs:
- Go to Actions tab
- Click on failed workflow
- Expand each step to see error messages
Common issues:
Issue: "Node modules not found"
Solution: Make sure site/package.json exists and is committed
Issue: "Python script failed"
Solution: Check that all Python scripts are in the scripts/ directory
Issue: "Permission denied" Solution: Make sure GitHub Pages is enabled in repository settings
Issue: "404 on deployed site" Solution:
- Verify Pages is set to "GitHub Actions" not "Deploy from a branch"
- Check that the workflow completed successfully
- Wait 5-10 minutes for DNS propagation
Automatic Updates
Once deployed, any push to the main branch will automatically:
- Generate fresh metadata
- Update API endpoints
- Build the enhanced site
- Deploy to GitHub Pages
No manual intervention needed!
Testing Locally (Optional)
Build site locally:
# Install Node.js first (if not already installed)
# Download from: https://nodejs.org/
# Then run:
cd site
npm install
node build-enhanced.js
# Open the site
Start-Process "dist/index.html"
Custom Domain (Optional)
To use a custom domain:
-
Add CNAME file:
# In site/dist/ directory echo "yourdomain.com" > CNAME -
Configure DNS:
- Add A records pointing to GitHub Pages IPs:
- 185.199.108.153
- 185.199.109.153
- 185.199.110.153
- 185.199.111.153
- Or add CNAME record:
sahiixx.github.io
- Add A records pointing to GitHub Pages IPs:
-
Update GitHub Pages settings:
- Go to Settings → Pages
- Enter your custom domain
- Enable "Enforce HTTPS"
Monitoring
View deployment status:
# Check latest deployment
gh run list --limit 5
View site analytics:
- Use Google Analytics
- Use GitHub traffic insights (Settings → Insights → Traffic)
Success Checklist
- Code pushed to GitHub
- GitHub Actions workflow running
- Workflow completed successfully
- GitHub Pages enabled
- Site accessible at URL
- API endpoints responding
- Metadata files accessible
- Repository "About" section updated
Next Steps After Deployment
-
✅ Share your site:
https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/ -
✅ Update your README badges:
[](https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/) [](https://sahiixx.github.io/system-prompts-and-models-of-ai-tools/) -
✅ Announce on social media:
- Twitter/X
- Reddit (r/programming, r/MachineLearning)
- Discord communities
-
✅ Monitor traffic and usage
Support
If you encounter any issues:
- Check the GitHub Actions logs
- Review the troubleshooting section above
- Open an issue in the repository
Last updated: October 2, 2025
Status: Ready for deployment! 🚀