Deployment & Environment Setup
This guide covers installing, configuring, and deploying CruiseAppy in different environments.
Requirements
- PHP: 7.4+
- Web Server: Apache or Nginx (HTTPS enabled)
- Database: MySQL 5.7+ or MariaDB
- WordPress: 5.8+
- PHP Extensions: curl, mbstring, json, openssl, gd
Installation
- Clone: Place CruiseAppy in
wp-content/plugins. - Dependencies: Run
composer installif needed. - Configure: Set environment variables (see Variables & Configuration), update
wp-config.php. - Activate: Enable CruiseAppy in the WordPress admin.
- Integrations: Add API keys and credentials.
- Migrations: Run migrations or import data if required.
Best Practices
- Use HTTPS and secure file permissions.
- Schedule regular backups.
- Monitor logs and keep dependencies updated.
- Harden security (see Security Considerations).
- Mirror production in staging/dev environments.
Additional Notes
- Use WP-CLI for automation if available.
- Ensure
uploadsand cache directories are writable. - Set up cron for scheduled tasks.
- Configure object/page caching (Cache & Performance).
- Enable debug mode in
wp-config.phpfor troubleshooting. - Use environment variables to toggle sandbox/production modes.
- Back up before upgrades; restore from backup or version control if needed.
- Install required plugins (e.g., WooCommerce, WPML) for full functionality.