this post was submitted on 02 Aug 2025
5 points (100.0% liked)

WordPress

750 readers
1 users here now

A place to talk about WordPress the open source content management system. Also a place to ask for help with WordPress. Don't be rude, don't spam.

I check this once a week, so if you don't hear from me hit me up on Mastodon (phillycodehound@indieweb.social)

founded 2 years ago
MODERATORS
 

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!

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here