WordPress CLI install
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
wp --info
wp core download
#export DB_NAME=awesome ; export DB_USERNAME=awesome ; export DB_PASSWORD=123
mysql -h localhost -u root -p
create database if not exists `${DB_NAME}`;
grant all privileges on `${DB_NAME}`.* TO `${DB_USERNAME}`@`localhost` identified by '123';
grant all privileges on `${DB_NAME}`.* TO `${DB_USERNAME}`@`%` identified by '123';
wp core config --dbname=awesome --dbuser=awesome --dbpass=123
wp core install --url=http://awesome.dev/ --title=WordPress --admin_user=awesome --admin_password=123 --admin_email=zoltan@mullner.hu