https://github.com/chassis/generator-chassis-wp
:blue_car: Easily generate new Chassis projects.
https://github.com/chassis/generator-chassis-wp
chassis local-development wordpress yeoman yeoman-generator
Last synced: 9 months ago
JSON representation
:blue_car: Easily generate new Chassis projects.
- Host: GitHub
- URL: https://github.com/chassis/generator-chassis-wp
- Owner: Chassis
- License: gpl-3.0
- Created: 2017-03-21T15:34:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-03-11T23:42:20.000Z (almost 8 years ago)
- Last Synced: 2025-04-20T20:35:50.159Z (10 months ago)
- Topics: chassis, local-development, wordpress, yeoman, yeoman-generator
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Chassis Yeoman Generator
> Generate a new [Chassis](http://chassis.io) project.
## Installation
First, install [Yeoman](http://yeoman.io) and generator-chassis-wp using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).
```bash
npm install -g yo
npm install -g generator-chassis-wp
```
Then generate your new project and follow the prompts.
```bash
yo chassis-wp
```
You can also bypass installing the packages globally and start the generator in a single command by using npm 5's [npx](https://www.npmjs.com/package/npx) command
```bash
npx -p yo -p generator-chassis-wp -c yo chassis-wp
```
## What happens during installation?
When running the generator, you will be prompted for
* Project name. Used for folder name where the project gets scaffolded.
* PHP Version.
* If multisite should be enabled.
* Which [extensions](http://docs.chassis.io/en/latest/extend/) to automatically enable.
All options, except for project name, will be saved as the default for the next generation you do.
## Options
| Flag | Description |
| ---------------- | -------------------------------------------------------------- |
| `--skip-vagrant` | Will skip bringing newly created project up via Vagrant. |
| `--defaults` | Will skip all options except name and use the saved defaults. |