Skip to main content

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:

Deployment Workflow

Main Application (Vercel)

  1. Push code to Git repository
  2. Vercel automatically detects changes
  3. Builds the Next.js application
  4. Deploys to production
  5. Updates cache if needed

Documentation (Cloudflare Pages)

  1. Push code to GitLab repository
  2. Cloudflare Pages detects changes
  3. Builds Docusaurus documentation
  4. 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

  1. Use preview deployments to test before production
  2. Set up webhooks for automatic cache invalidation
  3. Monitor build times and optimize if needed
  4. Keep environment variables in sync across environments
  5. Use staging environments for testing

Next Steps