admin管理员组文章数量:1130349
I'm setting up a wordpress continuous integration environment - git->composer->bitbucket-AWS codepipeline, etc.
I have yet to figure out how I automate, for the development team, the setup of the WordPress meta data stored in the database. Theme customization, plugin setup/configuration, how to handle licensed plugins such as Offload Media Pro - where I can't share a license key with the development teams (some are contracted) but they need the plugin working to test. Does anyone have a good resource on how to solve these issues?
I'm setting up a wordpress continuous integration environment - git->composer->bitbucket-AWS codepipeline, etc.
I have yet to figure out how I automate, for the development team, the setup of the WordPress meta data stored in the database. Theme customization, plugin setup/configuration, how to handle licensed plugins such as Offload Media Pro - where I can't share a license key with the development teams (some are contracted) but they need the plugin working to test. Does anyone have a good resource on how to solve these issues?
Share Improve this question asked Oct 31, 2018 at 1:47 dallasdawgdallasdawg 232 bronze badges1 Answer
Reset to default 0A lot of people use WP CLI to script the setup using Bash scripting. Here are some articles that discuss this.
Another approach is to hardcode PHP scripts with embedded SQL to do the setup.
A third approach is something I have been working on recently; a set of PHP objects to make setup and configuration easier for automated testing. The objects do not have nearly the breadth of functionality that WP CLI has, but if you prefer scripting in PHP over scripting in BASH you can always send pull requests for things you need to add.
Hope this helps.
I'm setting up a wordpress continuous integration environment - git->composer->bitbucket-AWS codepipeline, etc.
I have yet to figure out how I automate, for the development team, the setup of the WordPress meta data stored in the database. Theme customization, plugin setup/configuration, how to handle licensed plugins such as Offload Media Pro - where I can't share a license key with the development teams (some are contracted) but they need the plugin working to test. Does anyone have a good resource on how to solve these issues?
I'm setting up a wordpress continuous integration environment - git->composer->bitbucket-AWS codepipeline, etc.
I have yet to figure out how I automate, for the development team, the setup of the WordPress meta data stored in the database. Theme customization, plugin setup/configuration, how to handle licensed plugins such as Offload Media Pro - where I can't share a license key with the development teams (some are contracted) but they need the plugin working to test. Does anyone have a good resource on how to solve these issues?
Share Improve this question asked Oct 31, 2018 at 1:47 dallasdawgdallasdawg 232 bronze badges1 Answer
Reset to default 0A lot of people use WP CLI to script the setup using Bash scripting. Here are some articles that discuss this.
Another approach is to hardcode PHP scripts with embedded SQL to do the setup.
A third approach is something I have been working on recently; a set of PHP objects to make setup and configuration easier for automated testing. The objects do not have nearly the breadth of functionality that WP CLI has, but if you prefer scripting in PHP over scripting in BASH you can always send pull requests for things you need to add.
Hope this helps.
本文标签:
版权声明:本文标题:wp cli - In a continuous integration environment how do you implement the database entries for plugins and themes 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749218305a2334536.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论