Inspired by:
Once you have NodeJS & NPM installed, all other requirements can be installed with:
npm install -g bower browser-sync grunt-cli node-sass yoInstall matter:
npm install -g git+ssh://git@github.com:oknoway/matter.gitcd to your WordPress themes directory and initiate the generator:
yo matterOnce installation is finished, cd to your new theme directory and run grunt.
This is a great time to add any custom post types and taxonomies. If you install WP-CLI, you can quickly generate post types and taxonomies with the following commands, answering Y to --theme and n to --raw:
- Post Types:
wp scaffold post-type --prompt - Taxonomies:
wp scaffold taxonomy --prompt
- Prompts for:
- Post Types
- Taxonomies
- Sidebars
- Widgets
- Nav Menus
- SubGenerators
- neato
Please fork, change and pull request!
To setup matter for development, first uninstall from matter from npm:
npm uninstall -g generator-matterClone the generator to the directory of your choosing (use your fork for the repo URL, if you have one):
git clone git@github.com:oknoway/matter.gitcd into that directory and run:
npm linkGPL2