DEV Community

Discussion on: How to get started with WordPress Theme development

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Although you can indeed install WordPress within a folder, then run globally, I would love to run it within Docker. (which is not WordPress problem, but PHP problem.)

I believe there is WordPress plugin to view that website's source code including PHP.

Also, if you want to use composer, I believe there is WordPress fork. Forgot the name, sry.

Collapse
 
pesse profile image
Samuel Nitsche

Hm, I tried out that one here yesterday and it seemed to work pretty okay. The only thing I need to add is to make the wordpress folder also a volume so I can access it easily from my PC:
docs.docker.com/compose/wordpress/