Thie is a fork of Wesley Todd's YeoPress
If you do not already have the Yeoman toolset installed do so now, and might as well install me at the same time (NOTE: don't type the $):
$ npm install -g git://github.com/BoomtownIG/YeoPress.git@master
And run me:
$ yo btig-wordpress
Follow the prompts
By specifying the --advanced flag you get access to more features:
- Vagrant: Sets up a Vagrant box using Puppet with all the requirements for running a WordPress site.
- WP version: Select a specific WordPress version to install
- Block external requests: Adds the
WP_HTTP_BLOCK_EXTERNALsetting to config to lock down the admin - Add core files to gitignore: Adds rules to the
.gitignorefile for the WordPress core files
You can define any custom defaults you want in ~/.yeopress. This file is just a json file with key-value pairs for the config settings you want. Here is a base default:
{
"tablePrefix": "wp_",
"dbHost": "localhost",
"git": true,
"submodule": true,
"wpDir": "wordpress",
"contentDir": "wp-content",
"installTheme": true,
"themeDir": "roots-sass",
"themeType": "git",
"themeUser": "BoomtownIG",
"themeRepo": "roots-sass",
"themeBranch": "master",
"customDirs": true,
}
$ yo btig-wordpress:plugin
An example response would be:
wordpress-seo, w3-total-cache, disable-all-wordpress-updates
ADD Visual Learner? Watch the shorter video.