This installation script automatically sets up a development Docker server with DDEV and installs a WordPress site with clean defaults on that server.
Note: DDEV needs to be installed in order for the installation script to work.
- Clone this repo to your (preferably empty) project's root directory with the command:
git clone git@github.com:jacobcassidy/ddev-wp-setup-script.git
- Customize the configuration settings in: ddev-wp-setup-script/config.sh
- Run the installation script in you project's root directory with the command:
ddev-wp-setup-script/install.sh
- Delete the ddev-wp-setup-script directory after successfully running the installation script
This script automatically sets up the following:
- Configures and starts the DDEV Docker containers with a WordPress development server.
- Installs a clean WordPress site with the default pages, posts, comments, plugins, themes, welcome panel and dashboard widgets removed (with the exception of the latest official default theme as a fallback).
- Downloads, installs, and activates the CassidyWP Starter Block Theme.
- Installs the All-in-One WP Migration plugin.
- Installs the All-in-One WP Migration Unlimited Extension plugin.
- Note: this plugin is not free and is sourced from your local machine since it's unavailable through the official WP plugin directory. If you don't have this plugin, you can turn the installation off in the
config.sh
file by settingINSTALL_LOCAL_AIOMUE_PLUGIN
to false.
- Note: this plugin is not free and is sourced from your local machine since it's unavailable through the official WP plugin directory. If you don't have this plugin, you can turn the installation off in the
- Installs the Query Monitor plugin.
- Installs the files needed to connect the DDEV Docker containers with the Spatie Ray desktop app (used for simple debugging when Xdebug is overkill).
- Initializes a local project Git repo and adds a
.gitignore
file configured for WordPress. - Adds a VSCode Workspace
.vscode/settings.json
file to include formatting rules to match WordPress's official coding standards.
If you come across any issues, please report them here.