Changes between Version 18 and Version 19 of ParrotServer


Ignore:
Timestamp:
05/14/13 12:28:03 (4 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ParrotServer

    v18 v19  
    9999== Maintaining WordPress sites == 
    100100 
    101 This can be done using the {{{wp}}} command line tool, see WordPress#wp. 
     101This can be done using the {{{wp}}} command line tool. 
    102102 
    103103For site specific notes on maintenance see the page for each site listed on WordPress#WordPressSites 
     104 
     105=== wp === 
     106 
     107The server has the http://wp-cli.org/ script installed, this makes it very easy to maintain the sites and do things like installing, activating, deactivating and uninstalling plugins and adding and removing user accounts. 
     108 
     109For example: 
     110 
     111{{{ 
     112sudo -i 
     113su-user su-user recon 
     114cd ~/sites/default/ 
     115wp help 
     116Available commands: 
     117    wp backup  
     118    wp cache add|decr|delete|flush|get|incr|replace|set|type 
     119    wp cap add|list|remove 
     120    wp comment approve|count|create|delete|last|spam|status|trash|unapprove|unspam|untrash 
     121    wp core config|download|install|install-network|is-installed|update|update-db|version 
     122    wp db connect|create|drop|export|import|optimize|query|repair|reset 
     123    wp eval  
     124    wp eval-file  
     125    wp export  
     126    wp help  
     127    wp home  
     128    wp option add|delete|get|update 
     129    wp plugin activate|deactivate|delete|install|path|status|toggle|uninstall|update|update-all 
     130    wp post create|delete|edit|generate|list|update 
     131    wp post-meta add|delete|get|update 
     132    wp rewrite dump|flush|structure 
     133    wp scaffold _s|plugin|post-type|taxonomy 
     134    wp search-replace  
     135    wp shell  
     136    wp term create|delete|list|update 
     137    wp theme activate|delete|install|path|status|update|update-all 
     138    wp transient delete|get|set|type 
     139    wp user add-role|create|delete|generate|import-csv|list|remove-role|set-role|update 
     140    wp user-meta add|delete|get|update 
     141 
     142See 'wp help <command>' for more information on a specific command. 
     143 
     144Global parameters: 
     145    --config=<path>     Path to the wp-cli config file 
     146    --path=<path>       Path to the WordPress files 
     147    --url=<url>         Pretend request came from given URL 
     148    --user=<id|login>   Set the WordPress user 
     149    --require=<path>    Load given PHP file before running the command 
     150    --color/--no-color  Whether to colozire the output 
     151    --debug             Show all PHP errors 
     152    --quiet             Suppress informational messages 
     153}}} 
    104154 
    105155== Updates ==