Last active
August 29, 2015 14:17
-
-
Save mullnerz/a71edb7b351c64a3b5b7 to your computer and use it in GitHub Desktop.
Revisions
-
mullnerz revised this gist
Apr 21, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ 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}`; -
mullnerz created this gist
Mar 25, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ 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=awesome 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