GithubHelp home page GithubHelp logo

artificer / generator-wpzest Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 228 KB

YeoPress wrapper which adds plugin scaffolding based on WP Plugin Boilerplate and deployment via WP-CLI-Deploy

JavaScript 100.00%

generator-wpzest's Introduction

What is WPZest?

A wrapper around the wonderful YeoPress generator. In addition to the features offered by YeoPress it lets you:

  • setup deployment to staging and production servers
  • scaffold plugins based on the WordPress Plugin Boilerplate

Deployment is handled via WP-CLI-Deploy.

Installation

In your terminal:

npm install -g yo generator-wpzest

WP-CLI-Deploy requires WP-CLI. If you don't already have it, instructions on how to install it can be found here. If you are experiencing issues and happen to be running MAMP then this should prove useful.

Usage

yo wpzest

This will run the YeoPress generator and once that is finished it will ask you if you'd like to configure staging and productions servers.

yo wpzest --skip-yp

If you are already using YeoPress and just want to setup deployment then you can achive that with the --skip-yp flag.

NOTE: If you have modified wp-config.php and .gitignore after using YeoPress and use WPZest after that, WPZest may overwrite these files. Make sure you check them.

yo wpzest:pluginbp <pluign-name>

Scaffolds a plugin based on the WP Plugin Boilerplate in your pluigns folder folder.

Templates

When installing wordpress through YeoPress the default theme is setup to use RequireJS. If this is not your cup of tea there is a fork of this template maintained here. In order to use it when prompted for the GitHub username replace the default value with citrusmist.

It doesn't rely on RequireJS but will require you to load scripts using wp_enqueue_script in your dev environment.

Resources

  • Slides from Front End Workflow Automation for WordPress Theme and Plugin Development talk

generator-wpzest's People

Contributors

artificer avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.