- Add comprehensive VERCEL_CLEANUP.md guide with step-by-step cleanup instructions - Enhance deployment.md with detailed protection mechanisms and alternatives - Add troubleshooting section and security considerations - Include Docker, static export, and other deployment platform options - Cross-reference cleanup guide from main deployment documentation Addresses comment #3029277293 requesting documentation validation
5.2 KiB
Vercel Cleanup and Disconnection Guide
This guide provides step-by-step instructions for safely disconnecting and cleaning up Vercel deployments for the Roo-Code-Cloud repository.
⚠️ Important Notice
The applications in this repository (apps/web-evals and apps/web-roo-code) are now configured with automatic Vercel deployment protections. However, if you previously had Vercel deployments, you may need to clean them up manually.
Pre-Cleanup Checklist
Before proceeding with Vercel cleanup:
- Ensure you have admin access to the Vercel project(s)
- Document any custom domain configurations
- Back up any environment variables or project settings
- Notify team members about the disconnection
- Verify alternative deployment methods are in place
Step 1: Access Vercel Dashboard
- Log in to Vercel Dashboard
- Navigate to your project(s) related to Roo-Code-Cloud
- Identify the projects that need to be removed:
roo-code-cloud-web-evals(or similar)roo-code-cloud-web-roo-code(or similar)
Step 2: Remove Custom Domains (if applicable)
For each project with custom domains:
- Go to Settings → Domains
- Remove all custom domains by clicking the Remove button
- Confirm the removal when prompted
- Wait for DNS propagation (may take up to 48 hours)
Step 3: Download Project Data (Optional)
If you need to preserve any data:
- Go to Settings → Environment Variables
- Export/copy any important environment variables
- Go to Deployments tab
- Note any important deployment configurations
Step 4: Delete Vercel Projects
For each project:
- Navigate to Settings → Advanced
- Scroll to the Delete Project section
- Type the project name to confirm deletion
- Click Delete Project
- Confirm the deletion in the popup
Step 5: Remove GitHub Integration (if applicable)
If the repository was connected via GitHub integration:
- Go to Vercel Integrations
- Find the GitHub integration
- Click Manage → Repository Access
- Remove access to the
RooCodeInc/Roo-Code-Cloudrepository - Save the changes
Step 6: Clean Up Local Vercel Configuration
Remove any local Vercel configuration files:
# Remove Vercel configuration files (if they exist)
rm -f .vercel/project.json
rm -f .vercel/README.txt
rmdir .vercel 2>/dev/null || true
# Remove any Vercel-specific files from apps
rm -f apps/web-evals/vercel.json
rm -f apps/web-roo-code/vercel.json
Step 7: Verify Cleanup
Confirm the cleanup was successful:
- Check that projects no longer appear in Vercel Dashboard
- Verify custom domains are no longer pointing to Vercel
- Confirm GitHub integration no longer has repository access
- Test that local development still works:
# Test local development
cd apps/web-evals && npm run dev
cd apps/web-roo-code && npm run dev
Step 8: Update DNS (if custom domains were used)
If you were using custom domains:
- Update DNS records to point to your new hosting provider
- Remove any CNAME records pointing to Vercel
- Add appropriate A/AAAA records for your new hosting
Troubleshooting
Project Won't Delete
If you can't delete a project:
- Ensure you have admin permissions
- Remove all custom domains first
- Contact Vercel support if the issue persists
DNS Still Points to Vercel
If DNS records still point to Vercel after cleanup:
- Check your DNS provider's control panel
- Remove CNAME records pointing to
cname.vercel-dns.com - DNS changes can take up to 48 hours to propagate
GitHub Integration Issues
If you can't remove GitHub integration:
- Go to GitHub → Settings → Applications → Authorized OAuth Apps
- Find Vercel and revoke access
- Remove the integration from Vercel dashboard
Alternative Deployment Options
After Vercel cleanup, consider these deployment alternatives:
Docker Deployment
# Build and deploy with Docker
docker build -t roo-code-app .
docker run -p 3000:3000 roo-code-app
Static Export
# Configure Next.js for static export
npm run build
npm run export
Other Platforms
- Netlify: Great for static sites and JAMstack
- Railway: Simple deployment with Git integration
- DigitalOcean App Platform: Managed container deployment
- AWS Amplify: Full-stack deployment with AWS integration
Post-Cleanup Verification
After completing the cleanup:
- Vercel projects are deleted
- Custom domains are disconnected
- GitHub integration is removed
- Local development works
- Alternative deployment is configured
- Team is notified of changes
- DNS records are updated (if applicable)
Need Help?
If you encounter issues during cleanup:
- Check the Vercel Documentation
- Contact Vercel Support through their dashboard
- Consult with the development team
- Review this repository's deployment documentation
Security Note
After cleanup, ensure:
- No sensitive environment variables remain in Vercel
- API keys used with Vercel are rotated if necessary
- Access tokens are revoked
- Team members' access is properly managed in new deployment platform