Last active
April 23, 2017 18:25
-
-
Save BenBroide/9d93b90b1de62de82a344f3b05c3ce06 to your computer and use it in GitHub Desktop.
Cloud9 auto setup WordPress TwentySeventeen +Child theme activated with wp-cli
This file contains 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
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
chmod +x wp-cli.phar | |
sudo mv wp-cli.phar /usr/local/bin/wp | |
siteurl=$(hostname) | |
siteurl="${siteurl%-*}" | |
echo $siteurl | |
echo "${siteurl%-*}" | |
wp core install --url=example.com --title=QuickWP --admin_user=admin --admin_password=123456 --admin_email=info@example.com | |
wp scaffold child-theme twentyseventeen-child --parent_theme=twentyseventeen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment