========
A fork of linepress WP-Tools.
The main difference is that I minimize extra config folders and files. And add options local and production options. The project is very customizable.
This script assumes you're using OSX and WP-CLI. WP-CLI itself doesn't work well with MAMP out of the box, so if you're using homebrew or a self compiled set-up of PHP/MYSQL you'll probably be fine.
Execute in terminal
setup.sh
and follow the instructions.
#Example
- Run the script from a folder where you'd like your dev site to live.
- Name the project. Slug is used throughout the build in your theme, function prefixes, etc.
- Optionally connect it to a private BB repo.
- Automatically builds local DB based on given inputs.
- Installs latest version of WP via WP-CLI.
- Creates a local-config file and modifies wp-config credentials if given for "live credentials".
- Installs developer plugins. ACF, Developer, WP_Debug, etc. If you fork this project you can easily change the ones I've chosen.
- Optionally (recommended) installs and activates a custom _s theme. This theme generates Title, description, and prefixes all functions. Saving tons of initial work.