generator-moxie-wp
v0.1.0
Published
WordPress Starter Theme Generator and WP utilities
Downloads
42
Readme
generator-moxie-wp
Yeoman generator
Prerequisites
- You'll need to download and install Node. Ref : https://nodejs.org
- Preferably install node using nvm. It helps you maintain different versions of node. Ref : https://github.com/creationix/nvm
- You'll need to install npm (Node Package Manager)
- Node comes with npm installed so you should have a version of npm. However, npm gets updated more frequently than Node does, so you'll want to make sure it's the latest version.
npm install npm -g
- Test: Run
npm -v
. The version should be higher than 2.1.8.
Getting Started
To install yeoman from npm, run:
npm install -g yo
To install generator-moxie-wp from npm, run:
npm install -g generator-moxie-wp
Now you should have the generator available, and you can use any of the available commands. Learn about the available commands.
Commands available
To learn more about all the available commands take a look at the commands file.
How to work with the generator locally
git clone https://github.com/moxienyc/generator-moxie-wp.git
cd generator-moxie-wp
npm link
- Create a project folder for which you need
moxie-wp
generator. (Not within thegenerator-moxie-wp
folder) i.e.,mkdir testing-out-loud && cd testing-out-loud
yo moxie-wp
and see the magic.
Pre-requisites
- Node
- Yeoman
- You can learn more about the pre-requisites of the Lean theme in the official repo.