From a729e9837e74905b2c11c5353097ca624b61f15e Mon Sep 17 00:00:00 2001 From: Josh Kasten Date: Mon, 30 Mar 2020 18:17:02 -0700 Subject: [PATCH] Added guide on using docker and editing files --- PluginDevDockerUsage.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 PluginDevDockerUsage.md diff --git a/PluginDevDockerUsage.md b/PluginDevDockerUsage.md new file mode 100644 index 0000000..fa00e08 --- /dev/null +++ b/PluginDevDockerUsage.md @@ -0,0 +1,16 @@ +## Setup +1. Run `./docker.sh` +2. Go to http://localhost:8000/ in your browser. +3. Follow the WordPress page's setup guide create your user +4. After logging in to the WordPress admin go to "Plugins" > "Add New" > "Upload Plugin" +5. Zip up all file in this directory expect "docker-instance-files" +6. Upload this on the page from step 4. above +7. Make sure to active the plugin on the Plugins page +8. Your done, happy editing! + +## Editing +1. Test changes by editing files under docker-instance-files/plugins/ + - Modify these directly on your host machine, changes take effect immediately! +2. Make sure to get your changes in to the original source to commit + - Careful not to re-upload your plugin, it will overwrite files docker-instance-files/plugins/ + \ No newline at end of file