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:
- Export all configuration:
drush config:export - Apply the performance recipe:
drush recipe recipes/performance - Verify security modules are configured
- Test all content types and views
- 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:
- Run
composer install --no-dev - Upload to your server
- Point web root to
web/ - Configure database in
settings.php - Run
drush site:install --existing-config - Set up cron for
drush cron