Wheels Deployment

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.

$ 安裝

git clone https://github.com/wheels-dev/wheels /tmp/wheels && cp -r /tmp/wheels/.claude/skills/wheels-deployment ~/.claude/skills/wheels

// tip: Run this command in your terminal to install the skill


name: Wheels Deployment description: 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.

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