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

  1. Clone: Place CruiseAppy in wp-content/plugins.
  2. Dependencies: Run composer install if needed.
  3. Configure: Set environment variables (see Variables & Configuration), update wp-config.php.
  4. Activate: Enable CruiseAppy in the WordPress admin.
  5. Integrations: Add API keys and credentials.
  6. 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 uploads and cache directories are writable.
  • Set up cron for scheduled tasks.
  • Configure object/page caching (Cache & Performance).
  • Enable debug mode in wp-config.php for 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.