Last active
January 31, 2017 07:09
-
-
Save AtsushiA/cf052abeccf7aefda83c38b4a75d0dd3 to your computer and use it in GitHub Desktop.
wocker-init-ja
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
#!/bin/bash | |
wocker wp core language install ja --activate | |
wocker wp core update-db | |
wocker wp option update timezone_string 'Asia/Tokyo' | |
wocker wp option update date_format 'Y年n月j日' | |
wocker wp option update time_format 'H:i' | |
wocker wp plugin update-all | |
wocker wp theme update-all | |
wocker wp plugin install \ | |
wp-multibyte-patch \ | |
theme-check \ | |
show-current-template \ | |
dynamic-hostname \ | |
--activate | |
echo "テーマユニットテストデータをインストールしますか? [Y/N]" | |
read ANSWER | |
case $ANSWER in | |
"" | "Y" | "y" | "yes" | "Yes" | "YES" ) wocker theme-test ja && echo "Theme Test Data install Done!!";; | |
* ) echo "init Done!";; | |
esac |
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
#!/bin/bash | |
GET_URL="https://gist.githubusercontent.com/AtsushiA/cf052abeccf7aefda83c38b4a75d0dd3/raw/init.sh" | |
cd $HOME/data | |
wget $GET_URL | |
chmod +x init.sh | |
ln -s $HOME/data/init.sh $HOME/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in wocker
wget -qO - 'https://gist.githubusercontent.com/AtsushiA/cf052abeccf7aefda83c38b4a75d0dd3/raw/set-init.sh' | bash