mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 07:40:57 +00:00
3 KiB
3 KiB
Vercel Deployment Instructions
🎯 Quick Summary
This repository is now configured for Vercel deployment with:
- ✅ Static documentation site
- ✅ Free tier (unlimited deployments)
- ✅ Automatic deployments from GitHub
- ✅ Preview deployments for PRs
- ✅ Custom 404 page
- ✅ Security headers
🚀 Getting Started (3 Steps)
Step 1: Create Vercel Account
- Go to https://vercel.com
- Click "Sign Up"
- Choose "Continue with GitHub"
Step 2: Import Repository
- In Vercel dashboard, click "Add New Project"
- Select "Import Git Repository"
- Find and select
A6-9V/MQL5-Google-Onedrive - Click "Import"
Step 3: Deploy
- Vercel auto-detects the configuration
- Click "Deploy"
- Wait 30-60 seconds
- Your site is live! 🎉
📋 What Was Set Up
Files Created
vercel.json- Main configuration filepublic/index.html- Beautiful documentation landing pagepublic/404.html- Custom error page.vercelignore- Files to exclude from deploymentdocs/Vercel_CLI_setup.md- Complete setup guide
Configuration
The vercel.json includes:
- Output directory:
public/ - Clean URLs (no .html extensions)
- Security headers
- Git deployment enabled
- Redirects configured
🌐 After Deployment
You'll get a URL like:
https://mql5-google-onedrive-docs.vercel.app
Automatic Updates
- Push to
main→ Production deployment - Open PR → Preview deployment
- Each commit → New preview URL
💡 Optional: Custom Domain
Want your own domain? (e.g., docs.yourdomain.com)
- In Vercel, go to Project Settings → Domains
- Add your domain
- Configure DNS:
Type: CNAME Name: docs (or @) Value: cname.vercel-dns.com - Wait for SSL certificate (automatic)
📚 Documentation
For detailed instructions, see:
- docs/Vercel_CLI_setup.md - Full setup guide
- public/README.md - Deployment directory info
🔧 Using Vercel CLI (Optional)
Install CLI:
npm install -g vercel
Deploy from command line:
vercel # Preview deployment
vercel --prod # Production deployment
🎨 Customizing the Site
- Edit files in
public/directory - Commit and push changes
- Vercel automatically redeploys
💰 Free Tier Includes
- ✅ Unlimited deployments
- ✅ 100GB bandwidth/month
- ✅ Automatic HTTPS
- ✅ Global CDN
- ✅ Preview deployments
- ✅ Custom domains
❓ Troubleshooting
Deployment failed?
- Check build logs in Vercel dashboard
- Ensure
public/directory exists - Verify
vercel.jsonis valid JSON
Site not updating?
- Check deployment status in Vercel
- Verify commits are pushed to GitHub
- Clear browser cache
📞 Support
- Vercel Docs: https://vercel.com/docs
- Project Issues: https://github.com/A6-9V/MQL5-Google-Onedrive/issues
- WhatsApp Community: https://chat.whatsapp.com/DYemXrBnMD63K55bjUMKYF
Ready? Follow the 3 steps above to deploy in minutes! 🚀