Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/romainberger/yeoman-wordpress

Yeoman generator for Wordpress project
https://github.com/romainberger/yeoman-wordpress

Last synced: 12 days ago
JSON representation

Yeoman generator for Wordpress project

Awesome Lists containing this project

README

        

# Yeoman WordPress Generator

Yeoman generator for WordPress projects and plugins.

For more informations about Yeoman, see [Yeoman.io](http://yeoman.io/).

## Installation

npm install -g generator-yo-wordpress

## Documentation

### Init

yo yo-wordpress

Generates a new WordPress project with a starter theme and the files needed to use Yeoman. Once Yeoman is done, install your new WordPress project, and activate the theme in the admin panel.

Yeoman will ask you which version of WordPress you want to use (latest stable version by default), the starter theme and a few informations to make the theme ready be to used. Most of the defaults informations can be changed in the [config file](#configuration).

### Plugin

yo yo-wordpress:plugin

Generates a plugin with [WordPress Plugin Boilerplate](https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate).

## Configuration

Yeoman-WordPress stores some defaults values so you won't have to type the same things every time you start a project. The first time you will use the generator it will create a config file with the informations you gave. These informations will be used as default values so you can override them during the init tasks. If you want to change the default values you can do it by editing the config file located in `~/.yeoman-wordpress/config.json`.

## Bug/Issue reporting

Apart from clearly explaining the isssue please provide the following output informations from your terminal:

+ `node -v`

+ `npm -v`

+ `yo -v`

and Operating system you're working on.