A Yeoman generator for a Jekyll site utilizing thoughtbot's Bourbon toolset.
npm install -g generator-playbook
If you already have generator-playbook installed, please upgrade before generating another site to get the latest updates.
npm list -g | grep 'generator-playbook' # See your installed versionnpm info generator-playbook | grep 'latest' # See latest generator-playbook versionnpm update -g generator-playbook # Upgrade generator-playbook globally
Playbook will run
bundle install, so if you would like to install the Playbook gems into a gemset, set that up before running
mkdir project-name && cd project-nameyo playbook
Should you run into an error such as
command yo not found it may be related to a path issue when installing Node.js via Homebrew. Please refer to the top answer on this StackOverflow question.
Run any test that you have defined for your source.
Build the concatenated, minified production version of the source into the
Deploy the production version of the source to GitHub Pages. This ability is configurable during Playbook generation.
If you choose to utilize
grunt-build-control to deploy a GitHub Pages user/organization site, your source must live in a branch other than
master. GitHub Pages user/organization sites serve the files found in the
master branch to the browser.