Druploy Documentation¶
Everything you need to set up and use preview environments for your Drupal projects.
Druploy spins up a fresh, isolated Drupal preview for every merge request — with its own database, its own URL, and its own VM. Reviewers get a real working site to click through; developers get a deterministic environment to validate changes before they merge.
Quick start¶
- Connect your GitLab project to Druploy from the app.
-
Install the
druployCLI (Linux/macOS,amd64andarm64):The CLI installs into
~/.local/bin/— nosudorequired. See the CLI docs for more. -
Authenticate (opens a browser for device-flow login):
-
In your project root, run:
This scaffolds
druploy.yml,settings.druploy.phpand thescripts/druploy/directory. -
Upload a base database (so previews boot with real content):
-
Open a merge request. Druploy builds the preview automatically and posts the URL on the MR.
That's it — every new MR gets https://mr-{id}-{your-project}.druploy.dev end-to-end.
Need help?¶
- Check the CLI commands reference.
- Read about the
druploy.ymlschema. - Open the Druploy app to manage previews from the UI.