A starter kit for WordPress theme development with VCCW.
This repository contains all functions below.
- WordPress
- _s(Starter Theme)
- Theme Unit Test Datas
- Useful Plugins for Theme Development
- Multi Sites Setting(English and Japanese)
$ vagrant plugin install vagrant-hostsupdater
$ vagrant box add vccw-team/xenial64
git clone https://github.com/littlebirdjp/vccw-env-for-theme-build.git ~/prj/vccw-env-for-theme-build
cd ~/prj/vccw-env-for-theme-build
vagrant up
You can replace /prj/
to any other name.
Visit http://example.vccw/ or http://192.168.33.99/
If there are any changes in wordpress.sql
on remote repository, run the below commands.
vagrant ssh
wp db import /vagrant/wordpress.sql
exit
If you make any changes in WodrPress DB, run the below commands.
vagrant ssh
wp db export /vagrant/wordpress.sql
exit
Unique configurations for a website are described on site.yml
.
Change following variables if you like.
hostname: example.vccw
ip: 192.168.33.99
multisite: true
plugins:
- wp-total-hacks
- tinymce-templates
- theme-check
- wordpress-importer
- jetpack
linked_clone: true
VCCW has a series of global parameters which work with all virtual machines.
They can be specified on ~/.vccw/config.yml
.
See provision/default.yml
.