Last active
July 11, 2016 07:12
-
-
Save onocom/eed324f7f3cb07f79ccbce7314ece076 to your computer and use it in GitHub Desktop.
CPIのレンタルサーバにWPCLIをインストールする
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.cpi.ad.jp/evangelist/maekawa/column01/001.html | |
cd ~ | |
mkdir bin | |
cd bin/ | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
cd ~ | |
echo alias wp 'php-5.5.16 ~/bin/wp-cli.phar' > .cshrc | |
source .cshrc | |
wp --info | |
cd ~/html | |
wp core download --locale=ja |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
PHPのバージョンは適宜変更する。
echo alias wp 'php-5.5.16 ~/bin/wp-cli.phar' > .cshrc