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 follows the SKILL.md standard. Use the install command to add it to your agent stack.
---
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)
```cfm
<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