Wordpress 265132 1920

Pull a WordPress site into DDEV (2022 edition)

New year, new DDEV scripts. The maintainers of DDEV released in DDEV 1.18.2 great improvements regarding the ‚ddev pull‘ feature. You can now overwrite and customize all import steps in a nice and clean way. The best thing about it is, that you can share these providers scripts in the project repository for all team members (.ddev/providers/). Given the new features of ddev pull, I transformed my existing script approaches:

I also integrated these scripts in an interactive generator:

🎥 Demo video for „ddev pull ssh“ with the interactive generator:

YouTube

Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden

PGlmcmFtZSB0aXRsZT0iUHVsbCBhIFdvcmRQcmVzcyBzaXRlIGludG8gYSBsb2NhbCBEREVWIHByb2plY3QgKDIwMjIgZWRpdGlvbikgLSBSYWlkYm94ZXMgZXhhbXBsZSIgd2lkdGg9IjUwMCIgaGVpZ2h0PSIyODEiIHNyYz0iaHR0cHM6Ly93d3cueW91dHViZS1ub2Nvb2tpZS5jb20vZW1iZWQvbEVHTDY1SC1odHM/ZmVhdHVyZT1vZW1iZWQiIGZyYW1lYm9yZGVyPSIwIiBhbGxvdz0iYWNjZWxlcm9tZXRlcjsgYXV0b3BsYXk7IGNsaXBib2FyZC13cml0ZTsgZW5jcnlwdGVkLW1lZGlhOyBneXJvc2NvcGU7IHBpY3R1cmUtaW4tcGljdHVyZTsgd2ViLXNoYXJlIiByZWZlcnJlcnBvbGljeT0ic3RyaWN0LW9yaWdpbi13aGVuLWNyb3NzLW9yaWdpbiIgYWxsb3dmdWxsc2NyZWVuPjwvaWZyYW1lPg==

Hope this will be valuable for your WordPress workflows! Please use it with caution, everything is work in progress.

If you want to connect with other DDEV users, join the DDEV discord and checkout awesome-ddev.


Btw: If you just want to create a new WordPress instance quickly on your local computer, check out the new DDEV WP-CLI quickstart-docs. DDEV has built-in support for WP-CLI, therefore it is very easy to automate WordPress dev tasks – demo video:

YouTube

Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden

PGlmcmFtZSB0aXRsZT0iRERFViBXb3JkUHJlc3MgcXVpY2tzdGFydCB2aWEgV1AtQ0xJOiBTZXR1cCBhIGxvY2FsIFdvcmRQcmVzcyBzaXRlIiB3aWR0aD0iNTAwIiBoZWlnaHQ9IjI4MSIgc3JjPSJodHRwczovL3d3dy55b3V0dWJlLW5vY29va2llLmNvbS9lbWJlZC9DbjcyaXg0NGV4ND9mZWF0dXJlPW9lbWJlZCIgZnJhbWVib3JkZXI9IjAiIGFsbG93PSJhY2NlbGVyb21ldGVyOyBhdXRvcGxheTsgY2xpcGJvYXJkLXdyaXRlOyBlbmNyeXB0ZWQtbWVkaWE7IGd5cm9zY29wZTsgcGljdHVyZS1pbi1waWN0dXJlOyB3ZWItc2hhcmUiIHJlZmVycmVycG9saWN5PSJzdHJpY3Qtb3JpZ2luLXdoZW4tY3Jvc3Mtb3JpZ2luIiBhbGxvd2Z1bGxzY3JlZW4+PC9pZnJhbWU+

Stay safe & healthy (& fight the climate emergency).

,

Comments

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert