[ad_1]
I’m learning how to use Docker and I’m having trouble figuring out how to edit my WordPress project after successfully creating a container and installing WP.
I have a WordPress theme from GitHub that I want to test code on but I can’t figure out to get my code to show on the local host page.
Can anyone please point out any tutorials or sites that have steps on what to do after WordPress and docker are installed? A lot of the tutorials I’ve found just stop once installation is complete.
Thank you!
[ad_2]
I’m not sure what editing a WP site has to do with Docker? It’s the same for any type of hosting. Is your WP site accessible? You can access the backend of WP by going to /wp-admin
https://youtu.be/BUTMzGBC-H4?si=Zgh5tZ8ccz6fIwp5
This guy pretty much goes through the whole process (he uses Lando which is an abstraction layer for Docker which makes things easier).
This is pretty much exactly how I build sites (I use a different provisioning tool that has GitHub deployments built in).
Bonus – he shows how to setup Bedrock which makes it much easier to have a development > staging > production workflow