One-click WP site generation wih wp-cli on Windows
This is the script I use on Windows under XAMPP. It includes a MySQL command to create the database, and a tweak to improve security by nuking user 1 (and all its content) straight after install, resulting in a clean empty database. @echo off set dbName=”wp_yourdbname” set dbPass=”your_random_db_password” set siteUrl=”sitename.localdev.yourdomain.com” set siteName=”Kluwell” set siteDesc=”” set … Read more