Skip to content
On this page

INFO

🚧   This chapter is work in progress (WIP) . Happy to hear your feedback / ideas!

WordPress

Quick install

Installing WordPress with DDEV is super simple. DDEV has already built-in support for the WordPress Command Line Tools (WP-CLI).

If you create a DDEV project with ddev config --project-type=wordpress, a wp-config.php is created which already contains the correct database connection settings (db, db, db) for DDEV.

Therefore it is really easy to install a fresh WordPress with just a few commands:

Embedded Video

By loading this video, you accept the privacy policy and terms of YouTube/Google.

The commands shown in this video:

mkdir my-wp-site
cd my-wp-site/

# create a new DDEV project inside the newly created folder
# (the primary URL is automatically set to https://<folder>.ddev.site)
ddev config --project-type=wordpress
ddev start

# download latest WordPress (via WP-CLI)
ddev wp core download

# finish the installtion in your browser:
ddev launch

Official docs

Pulling WordPress

DDEV offers an incredible feature called Hosting Provider Integration. This enables writing little scripts which can pull databases and files from remote servers to your local development project.

Pull via BackWPup

TODO: Add screencast

TODO: Add content

Pull via BackWPup into GitPod

TODO: Add screencast

TODO: Add content

Pull via SSH

Embedded Video

By loading this video, you accept the privacy policy and terms of YouTube/Google.

Pull via SSH into Gitpod

TODO: Add content / how to use SSH keys there?