Skip to content

Instantly share code, notes, and snippets.

@miya0001
Last active October 21, 2017 02:14
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miya0001/db3ce191e31871964a57 to your computer and use it in GitHub Desktop.
Save miya0001/db3ce191e31871964a57 to your computer and use it in GitHub Desktop.
テーマレビュワーのためのVCCW裏ワザ

初期設定

$ mkdir -p ~/vagrants/vccw
$ cd ~/vagrants/vccw
$ git clone git@github.com:miya0001/vccw.git .

次に以下のコードを~/.bash_profileに登録

alias vccw="VAGRANT_VAGRANTFILE=~/vagrants/vccw/Vagrantfile.theme-review vagrant"

おわったら、source ~/.bash_profile

以上初期設定おわり

テーマがきたら。。。

デスクトップ等に任意のディレクトリを作成する。

$ mkdir ~/Desktop/new-theme
$ cd ~/Desktop/new-theme

最後にそのテーマを有効化してプロビジョン

$ wp_theme=http://example.com/new-tehem.zip vccw up

あら不思議、vccwをコピーしなくてもvccwが立ち上がります。^^ テーマレビューが終わったらvccw destroyで捨てること。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment