Skip to content

Instantly share code, notes, and snippets.

@AtsushiA AtsushiA/init.sh
Last active Jan 31, 2017

Embed
What would you like to do?
wocker-init-ja
#!/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
#!/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/
@AtsushiA

This comment has been minimized.

Copy link
Owner Author

commented Jun 26, 2016

in wocker

wget -qO - 'https://gist.githubusercontent.com/AtsushiA/cf052abeccf7aefda83c38b4a75d0dd3/raw/set-init.sh' | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.