Settings up a new WordPress install with wp-cli

#Settings

wp core update --allow-root; 
wp option update timezone_string "America/New_York" --allow-root; 
wp option update posts_per_page 9 --allow-root; 
wp rewrite structure '/%category%/%postname%/' --allow-root;
wp user update 1 --display_name=Admin --user_pass=PASS--allow-root;
wp option update admin_email [email protected] --allow-root;

#Plugins

wp plugin delete hello --allow-root;
wp plugin install query-monitor --activate --allow-root;
wp plugin install nginx-helper --activate --allow-root;
wp plugin install "http://connect.advancedcustomfields.com/index.php?p=pro&a=download&k=REPLACE_WITH_KEY" --activate --allow-root;


Posted

in