Giter Club home page Giter Club logo

generator-spinwp's Introduction

SpinWP Generator

A Yeoman generator for quickly spinning up .

Requirements

  • NodeJS (v16+)
  • PHP
  • MySQL
  • WP CLI
  • Github CLI

GitHub CLI Setup

When installed, run: gh auth refresh in your terminal and then gh auth refresh -h github.com -s admin:repo_hook to generate authorisation.

Installation

In your Terminal:

  • Run npm install -g yo
  • Copy this repo to your htdocs directory
  • Navigate your terminal to your htdocs directory and into the root of the generator-spinwp and run npm install.
  • In the same directory, run npm link
  • CD up a directory and run yo spinwp to start the generator.
  • Any issues should flag with missing dependencies. Install these dependencies and try again if the generator fails.

Adding plugins

You can either dump the plugins into the generators/plugins directory or add the wordpress directory slug for the plugin to generators/index.js and add to the plugins array.

Changing the base theme

By default, it'll select https://github.com/tex0gen/bootstrap5-wordpress-theme as the theme to use. You can change this in generators/index.js by replacing the URL to another git repo.

Using

Run yo spinwp in your terminal when navigated to your root htdocs directory and follow on-screen instructions. Job done!

generator-spinwp's People

Contributors

tex0gen 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.