wheels-deployment

wheels-dev's avatarfrom wheels-dev

Configure Wheels applications for production deployment with security hardening, performance optimization, and environment-specific settings. Use when preparing for production, configuring servers, or hardening security.

⭐200stars🔀107forks📁View on GitHub🕐Updated Jan 1, 2026

When & Why to Use This Skill

The Wheels Deployment skill is a specialized tool designed to automate and standardize the production readiness of Wheels (CFWheels) applications. It solves the critical challenge of transitioning from development to live environments by providing pre-configured security hardening, performance optimization scripts, and comprehensive deployment checklists. By ensuring that sensitive debug information is masked and caching mechanisms are fully utilized, it minimizes the risk of security breaches and performance bottlenecks during deployment.

Use Cases

  • Production Environment Setup: Automatically generating secure 'settings.cfm' configurations that disable debug logs and enable CSRF protection for new releases.
  • Security Hardening: Implementing a systematic security audit using the built-in checklist to verify HTTPS, SQL injection prevention, and secure session management.
  • Performance Tuning: Optimizing web application speed by configuring multi-level caching (pages, queries, and partials) and preparing assets for CDN distribution.
  • Infrastructure Standardization: Ensuring consistent environment-specific settings across multiple servers to prevent configuration drift between staging and production.
nameWheels Deployment
descriptionConfigure Wheels applications for production deployment with security hardening, performance optimization, and environment-specific settings. Use when preparing for production, configuring servers, or hardening security.

Wheels Deployment

Production Configuration

config/settings.cfm (Production)

<cfif get("environment") == "production">
    <cfscript>
        // Error handling
        set(showDebugInformation=false);
        set(showErrorInformation=false);
        set(sendEmailOnError=true);
        set(errorEmailAddress="admin@example.com");

        // Performance
        set(cacheActions=true);
        set(cachePages=true);
        set(cachePartials=true);
        set(cacheQueries=true);

        // Security
        set(csrfProtection=true);
        set(obfuscateUrls=true);

        // Database
        set(autocommit=false);
    </cfscript>
</cfif>

Security Checklist

  • CSRF protection enabled
  • showDebugInformation = false
  • showErrorInformation = false
  • Strong database passwords
  • HTTPS enabled
  • SQL injection prevention
  • XSS protection
  • Secure session configuration

Performance Checklist

  • Enable all caching
  • Optimize database indexes
  • Use eager loading (include)
  • Enable GZIP compression
  • Minify CSS/JS
  • Use CDN for assets
  • Database connection pooling

Generated by: Wheels Deployment Skill v1.0