I made a WordPress Devcontainer Template
Technology
1
Beiträge
1
Kommentatoren
0
Aufrufe
-
cross-posted from: https://lemmy.ca/post/49042391
I was sick of always fighting with WordPress to get a local set up to develop a plug-in or update the theme for a client, so I made a dev container.
As per the README, this supports:
- Automatic database dump import and site URL rename
- Automatic WordPress theme and plug-in loading from .zip, wpackagist or directory
- Mounting of a user-provided uploads directory
It also means your IDE automatically gets access to a WordPress installation for easy auto complete of WordPress functions and features when writing PHP code.
Theoretically, it can also easily be converted into a normal container if you don't use VSCode by setting up /workspace as a mount. Dev containers are unfortunately a bit broken with JetBrains products, and this container will not launch.
Contributions welcome!
Maxim Therrien / WordPress Dev Container Template · GitLab
Template for WordPress development in a dev container
GitLab (gitlab.com)
-
A Prominent OpenAI Investor Appears to Be Suffering a ChatGPT-Related Mental Health Crisis, His Peers Say
Technology1
-
-
Google services, Spotify, Cloudflare, and other services appear to be in a partial outage.
Technology1
-
-
-
Developer Collective of Peertube, the fediverse youtube alternative is doing a Ask-Me-Anything on lemmy.
Technology1
-
EU ruling: tracking-based advertising by Google, Microsoft, Amazon, X, across Europe has no legal basis
Technology1
-