DrupalReady
Back to Docs

Deployment Guide

Deploy your DrupalReady site to production.

Preparing for Deployment

Before deploying, ensure:

  1. All configuration is exported: lando drush config:export
  2. Config split is set up for environment-specific settings
  3. The settings.php file uses environment variables for database credentials
  4. Security modules (SecKit, Honeypot) are properly configured
  5. Caching is enabled: lando drush cr

Platform.sh

Platform.sh has first-class Drupal support:

  1. Add .platform.app.yaml and .platform/ config (templates coming soon)
  2. Connect your Git repository
  3. Push to deploy

Platform.sh handles PHP, database, Redis, and file storage automatically.

Pantheon

For Pantheon hosting:

  1. Create a new Drupal site on Pantheon
  2. Clone the Pantheon repo and merge your DrupalReady project
  3. Push to the master branch to deploy to Dev
  4. Use the Pantheon dashboard to deploy to Test and Live

Traditional Hosting

For traditional LAMP/LEMP hosting:

  1. Run composer install --no-dev --optimize-autoloader
  2. Upload the project to your server
  3. Point the web root to the web/ directory
  4. Create the database and update settings.php
  5. Run drush site:install --existing-config or import the database
  6. Set up a cron job for drush cron