DrupalReady
Back to Knowledge Base
Deployment 8 min read

Deploying Your Site to Production

Step-by-step deployment guides for Platform.sh, Pantheon, and traditional hosting providers.

Pre-Deployment Checklist

Before deploying:

  1. Export all configuration: drush config:export
  2. Apply the performance recipe: drush recipe recipes/performance
  3. Verify security modules are configured
  4. Test all content types and views
  5. Run accessibility checks with editoria11y

Platform.sh

Platform.sh has first-class Drupal support. Add the .platform.app.yaml configuration, connect your Git repository, and push to deploy. Platform.sh handles PHP, database, Redis, and file storage automatically.

Pantheon

Create a Drupal site on Pantheon, clone the repo, merge your DrupalReady project, and push to the master branch. Use Pantheon's dashboard to promote through Dev → Test → Live environments.

Traditional Hosting

For LAMP/LEMP hosting:

  1. Run composer install --no-dev
  2. Upload to your server
  3. Point web root to web/
  4. Configure database in settings.php
  5. Run drush site:install --existing-config
  6. Set up cron for drush cron

Related Articles