Skip to content

Add guide: download Pantheon sandbox and run Drupal locally on WSL Ubuntu - #4

Draft
dreiren wants to merge 1 commit into
mainfrom
cursor/pantheon-drupal-local-wsl-guide-9805
Draft

Add guide: download Pantheon sandbox and run Drupal locally on WSL Ubuntu#4
dreiren wants to merge 1 commit into
mainfrom
cursor/pantheon-drupal-local-wsl-guide-9805

Conversation

@dreiren

@dreiren dreiren commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

Adds docs/pantheon-drupal-local-wsl-setup.md, a step-by-step guide for downloading a Pantheon sandbox site (code, database, and files) and running Drupal locally on Windows WSL2 Ubuntu.

What's covered

  • WSL2 + Docker Desktop prerequisites on Windows
  • Installing PHP, Composer, and Terminus (Pantheon CLI) in Ubuntu
  • Authenticating Terminus with a Pantheon machine token
  • Cloning the site's Drupal codebase from Pantheon's git remote
  • Installing DDEV and configuring its built-in Pantheon provider (ddev pull pantheon) to pull the database and files in one step
  • Running/accessing the site locally and useful ddev/drush commands
  • A manual fallback path (Terminus backup:create/backup:get + a plain LAMP stack) for anyone who doesn't want to use Docker/DDEV
  • Troubleshooting tips (Docker WSL integration, Terminus version mismatches, Pantheon-only settings blocks, slow pulls)

No application code was changed; this is a documentation-only addition.

Open in Web Open in Cursor 

…untu

Co-authored-by: Adrian Ravis <dreiren@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants