Skip to content

Production Checklist

This guide provides a pre-deployment checklist for production deployments.

Table of Contents


Overview

This checklist ensures a smooth production deployment by covering all necessary steps before, during, and after deployment.

Pre-Deployment Checklist

Code Review

  • [ ] Code reviewed by team
  • [ ] No console errors
  • [ ] No PHP errors
  • [ ] Coding standards followed
  • [ ] Documentation updated

Testing

  • [ ] Tested on local environment
  • [ ] Tested on staging environment
  • [ ] Cross-browser testing completed
  • [ ] Mobile testing completed
  • [ ] Page transitions tested
  • [ ] Forms tested
  • [ ] ACF fields working

Asset Build

  • [ ] Assets built successfully
  • [ ] No build errors
  • [ ] Assets optimized
  • [ ] Images optimized
  • [ ] Fonts loaded correctly

Database Backup

  • [ ] Database backed up
  • [ ] Backup verified
  • [ ] Rollback plan prepared

Environment Configuration

  • [ ] Environment variables set
  • [ ] WordPress constants configured
  • [ ] Debug mode disabled
  • [ ] Cache configured

Deployment Steps

1. Final Testing

Test everything one last time:

  • All pages load correctly
  • No console errors
  • No PHP errors
  • All features working

2. Build Assets

Build production assets:

bash
npm run build

Verify build success:

  • Check dist/ directory
  • Verify asset files exist
  • Check file sizes

3. Deploy to Staging

Deploy to staging first:

  • Push to staging branch
  • Monitor deployment
  • Verify staging site

4. Verify Staging

Verify staging deployment:

  • Check site functionality
  • Verify assets load
  • Test critical features
  • Check for errors

5. Deploy to Production

Deploy to production:

  • Push to production branch
  • Monitor deployment
  • Verify production site

Post-Deployment Verification

1. Check Site Functionality

Verify site works:

  • Homepage loads
  • Navigation works
  • Pages load correctly
  • Forms submit
  • No broken links

2. Verify Assets

Check assets load:

  • CSS loads correctly
  • JavaScript loads correctly
  • Images load
  • Fonts load
  • No 404 errors

3. Monitor Logs

Monitor for issues:

  • Check error logs
  • Monitor server logs
  • Watch for errors
  • Check performance

Best Practices

1. Always Test on Staging

Never deploy directly to production:

  • Test on staging first
  • Verify all functionality
  • Check for errors

2. Backup Before Deploy

Always backup before deploying:

  • Database backup
  • File backup
  • Verify backups

3. Monitor After Deploy

Monitor after deployment:

  • Check error logs
  • Monitor performance
  • Watch for issues
  • Be ready to rollback

Next Steps:

Released under the MIT License.