Acquia Integration¶
DDEV provides integration with the Acquia Cloud Platform, which allows Acquia users to quickly download and provision a project from Acquia in a local DDEV-managed environment.
DDEV’s Acquia integration pulls database and files from an existing project into your local system so you can develop locally.
Acquia Quickstart¶
- Get your Acquia API token from Account Settings → API Tokens.
- Make sure you’ve added your SSH key to your Acquia account in Account Settings → SSH Keys.
- Run
ddev auth ssh. (Typically once per DDEV session, not every pull.) - In
~/.ddev/global_config.yaml(or the projectconfig.yaml), add or update theweb_environmentsection with the API keys:
- In the project
.ddev/config.yamladd theACQUIA_ENVIRONMENT_IDenvironment variable:
- Run
ddev restart. - Use
ddev pull acquiato pull the project database and files. - Optionally use
ddev push acquiato push local files and database to Acquia. Be aware thatddev pushis a command that can potentially damage your production site, so we don’t recommend using it.
Usage¶
ddev pull acquia will connect to the Acquia Cloud Platform to download database and files. To skip downloading and importing either file or database assets, use the --skip-files and --skip-db flags.