Skip to content

Commit

Permalink
Added guide on using docker and editing files
Browse files Browse the repository at this point in the history
  • Loading branch information
jkasten2 committed Mar 31, 2020
1 parent 6b467b0 commit a729e98
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions PluginDevDockerUsage.md
Original file line number Diff line number Diff line change
@@ -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/

0 comments on commit a729e98

Please sign in to comment.