wp-lemon Docs
Update wp-lemon
Update wp-lemon
This chapter will cover how to update wp-lemon projects.
Update project locally
- Make sure your local repository is up-to-date
- Run
yarn run update-parent
in the child theme, this will update wp-lemon, all php dependencies and install npm dependencies for your parent theme. - Check the changelogs since your latest update and look for breaking changes 3.1. Find breaking changes 3.2. Find out it you need to handle on them 3.3. Make changes accordingly
- Run development build and test your code.
- Make sure that your project runs locally before continuing to the next step.
Deploy update
- Upload vendor folder in projects root.
- Is wp-lemon-block plugin updated as well? Upload the plugin!
- Make a production build in your child theme by running
yarn run production
. - Remove both wp-lemon and child theme folders from the server.
- Upload both wp-lemon and child theme folders
- Empty cache.