https://github.com/vccw-team/scaffold-vccw
WP-CLI command that generates a new VCCW.
https://github.com/vccw-team/scaffold-vccw
vccw wordpress wp-cli
Last synced: about 1 year ago
JSON representation
WP-CLI command that generates a new VCCW.
- Host: GitHub
- URL: https://github.com/vccw-team/scaffold-vccw
- Owner: vccw-team
- License: mit
- Created: 2016-11-12T17:56:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-13T18:52:38.000Z (almost 8 years ago)
- Last Synced: 2025-04-08T18:21:30.252Z (about 1 year ago)
- Topics: vccw, wordpress, wp-cli
- Language: PHP
- Homepage:
- Size: 689 KB
- Stars: 19
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# vccw/scaffold-vccw
[](https://travis-ci.org/vccw-team/scaffold-vccw)
This is a WP-CLI command that generates a [VCCW](http://vccw.cc/) envirionment.
```
$ wp scaffold vccw wordpress.dev --lang=ja
Generating: 100% [===========================] 0:03 / 0:06
Success: Generated.
```
## Install
Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.
Once you've done so, you can install this package with:
```
$ wp package install vccw/scaffold-vccw:@stable
```
## Usage
```
NAME
wp scaffold vccw
DESCRIPTION
Generate a new VCCW environment.
SYNOPSIS
wp scaffold vccw [--host=] [--ip=]
[--lang=] [--update]
OPTIONS
The directory of the new VCCW based guest machine.
[--host=]
Hostname of the guest machine. Default is `vccw.test`.
[--ip=]
IP address of the guest machine. Default is `192.168.33.10`.
[--lang=]
Language of the WordPress. Default is `en_US`.
[--update]
Update files of the VCCW to latest version.
EXAMPLES
$ wp scaffold vccw wordpress.dev
Generating: 100% [===========================] 0:03 / 0:06
Success: Generated.
$ wp scaffold vccw wordpress.dev --lang=ja
Generating: 100% [===========================] 0:03 / 0:06
Success: Generated.
```
## Customize your default site.yml
1. [Download default template from GitHub](https://raw.githubusercontent.com/vccw-team/scaffold-vccw/master/templates/site.yml.mustache).
2. Edit it.
3. Place it under the file name of `~/.wp-cli/vccw.yml.mustache`.