Deployment Overview
This guide covers deployment options for the Infowebplus project.
Deployment Options
Main Application
The main Infowebplus application is deployed on Vercel:
- Vercel Deployment Guide - Complete setup instructions
- Automatic deployments from Git
- Preview deployments for pull requests
- Edge network for global performance
Documentation
The documentation site is deployed on Cloudflare Pages:
- Cloudflare Pages Deployment - Documentation deployment
- Custom domain:
docs.infowebplus.com - Automatic builds from GitLab
Deployment Workflow
Main Application (Vercel)
- Push code to Git repository
- Vercel automatically detects changes
- Builds the Next.js application
- Deploys to production
- Updates cache if needed
Documentation (Cloudflare Pages)
- Push code to GitLab repository
- Cloudflare Pages detects changes
- Builds Docusaurus documentation
- Deploys to
docs.infowebplus.com
Environment Variables
Ensure all required environment variables are set in your deployment platform:
Vercel
- Go to Project Settings → Environment Variables
- Add all required variables for Production, Preview, and Development
Cloudflare Pages
- Go to Project Settings → Environment Variables
- Add any required variables (usually minimal for static docs)
Monitoring
Vercel
- Check deployment status in Vercel dashboard
- Monitor function logs
- Review analytics and performance
Cloudflare Pages
- Check build logs in Cloudflare dashboard
- Monitor deployment status
- Review analytics (if enabled)
Best Practices
- Use preview deployments to test before production
- Set up webhooks for automatic cache invalidation
- Monitor build times and optimize if needed
- Keep environment variables in sync across environments
- Use staging environments for testing