Hi all,
I use XAMPP on Windows to build out wordpress sites, some for clients, some for testing, sandbox etc. Small scale stuff, really, it’s not my primary job. But it got me curious …
​
I notice that I’m repeating identical tasks, and I’m thinking about scripting a turnkey ‘install’ for a base wordpress site, partly to save time, but also to explore the scripting side of what I can eventually automate. I’ve been around windows batch and powershell scripts for a while, but I thought I’d ask if anyone knew of, or used anything, that would jumpstart my process?
At this stage, I’m starting with a functioning/running web server, database platform on Windows. So I’d like to automate:
\-download latest wordpress zipfile
Based on a specified/custom ‘sitename’:
\-create my folder structure
\-create a database
\-Unzip the wordpress.zip
​
(I assume from here on is wp-cli stuff ?)
\-perform the initial wordpress site install
\-add any base plugins
\-add any themes, or other tweaks I need.
At this stage, most of the things I’ve found are either starting at the ‘WordPress is already installed/WP-CLI” steps, or it’s all linux specific (which I have no problem with, but I’m just curious about Windows specific for now).
I appreciate any thoughts you may have? Or if I have yet to discover some motherlode of resources that are what I’m asking about.
​
Appreciate you all.
​
[ad_2]