Back to Docs
Deployment Guide
Deploy your DrupalReady site to production.
Preparing for Deployment
Before deploying, ensure:
- All configuration is exported:
lando drush config:export - Config split is set up for environment-specific settings
- The
settings.phpfile uses environment variables for database credentials - Security modules (SecKit, Honeypot) are properly configured
- Caching is enabled:
lando drush cr
Platform.sh
Platform.sh has first-class Drupal support:
- Add
.platform.app.yamland.platform/config (templates coming soon) - Connect your Git repository
- Push to deploy
Platform.sh handles PHP, database, Redis, and file storage automatically.
Pantheon
For Pantheon hosting:
- Create a new Drupal site on Pantheon
- Clone the Pantheon repo and merge your DrupalReady project
- Push to the
masterbranch to deploy to Dev - Use the Pantheon dashboard to deploy to Test and Live
Traditional Hosting
For traditional LAMP/LEMP hosting:
- Run
composer install --no-dev --optimize-autoloader - Upload the project to your server
- Point the web root to the
web/directory - Create the database and update
settings.php - Run
drush site:install --existing-configor import the database - Set up a cron job for
drush cron