{"id":734,"date":"2015-04-26T11:24:23","date_gmt":"2015-04-26T01:24:23","guid":{"rendered":"https:\/\/2015.brisbane.wordcamp.org\/?post_type=wcb_session&#038;p=734"},"modified":"2015-05-13T12:21:13","modified_gmt":"2015-05-13T02:21:13","slug":"wordpress-on-the-command-line-with-wp-cli","status":"publish","type":"wcb_session","link":"https:\/\/brisbane.wordcamp.org\/2015\/session\/wordpress-on-the-command-line-with-wp-cli\/","title":{"rendered":"WordPress On The Command Line With WP-CLI"},"content":{"rendered":"<div id=\"attachment_736\" style=\"width: 240px\" class=\"wp-caption alignright\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-736\" class=\"wp-image-736 size-medium\" src=\"https:\/\/2015.brisbane.wordcamp.org\/files\/2015\/04\/Jamie-Madden-230x300.jpg\" alt=\"Jamie Madden\" width=\"230\" height=\"300\" srcset=\"https:\/\/brisbane.wordcamp.org\/2015\/files\/2015\/04\/Jamie-Madden-230x300.jpg 230w, https:\/\/brisbane.wordcamp.org\/2015\/files\/2015\/04\/Jamie-Madden.jpg 280w\" sizes=\"auto, (max-width: 230px) 100vw, 230px\" \/><p id=\"caption-attachment-736\" class=\"wp-caption-text\">Jamie Madden<\/p><\/div>\n<p>Being able to build and maintain WordPress installations from the command line has many advantages. You can automate the setup and installation of a base site template including all your settings, plugins and users preconfigured and ready to go.<\/p>\n<p>WP-CLI provides a command line interface to your WordPress site\u00a0for the install, update of plugins, import and modification of data and more, all without the need of a web browser.<\/p>\n<p>Jamie&#8217;s\u00a0talk will go through the basics of <a href=\"http:\/\/wp-cli.org\/\">WP-CLI<\/a> along with a demo of some of the available commands. I will share a script I use to quickly build a development environment for plugin and theme development.<\/p>\n<ul>\n<li>The talk will start with what WP-CLI is.<\/li>\n<li>Advantages of using the command line.<\/li>\n<li>Basic Commands.<\/li>\n<li>Demo: Install core and base plugins.<\/li>\n<li>Demo: Import demo content.<\/li>\n<li>Advanced commands.<\/li>\n<li>Demo: Creating a script to automate the previous.<\/li>\n<\/ul>\n<p>Jamie has spent over 15 years as a systems administrator and developer. He is interested in all areas of technology both on and offline.\u00a0Jamie has\u00a0always aimed to automate his\u00a0environments wherever possible. Starting in the early days with shell scripts and moving through to tools like Chef.<\/p>\n<p>Jamie has been a WordPress user and developer since the early days of version 1.5. He has\u00a0utilised WordPress for all levels of products including basic websites, blogs, e-commerce, auctions, helpdesk systems and more. He is\u00a0the lead developer of WC Vendors a free Multi Vendor WooCommerce plugin.<\/p>\n<p>Outside of the IT world Jamie enjoys a variety of music and photography and tries to combine the two whenever possible.<\/p>\n<p>You can follow Jamie on <a href=\"http:\/\/twitter.com\/dcwhatwhat\">Twitter<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Being able to build and maintain WordPress installations from the command line has many advantages. You can automate the setup and installation of a base site template including all your settings, plugins and users preconfigured and ready to go. WP-CLI &hellip; <a href=\"https:\/\/brisbane.wordcamp.org\/2015\/session\/wordpress-on-the-command-line-with-wp-cli\/\">Continue reading <span class=\"assistive-text\">WordPress On The Command Line With WP-CLI<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6611334,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1433036400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[732],"footnotes":""},"session_track":[485821],"session_category":[],"class_list":["post-734","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-the-forum-p419"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5LFb3-bQ","jetpack_likes_enabled":true,"session_date_time":{"date":"May 31, 2015","time":"11:40 am"},"session_speakers":[{"id":"732","slug":"jamie-madden","name":"Jamie Madden","link":"https:\/\/brisbane.wordcamp.org\/2015\/speaker\/jamie-madden\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/734\/revisions"}],"predecessor-version":[{"id":3752,"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/sessions\/734\/revisions\/3752"}],"speakers":[{"embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/speakers\/732"}],"author":[{"embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wporg\/v1\/users\/digitalchild"}],"wp:attachment":[{"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/media?parent=734"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/session_track?post=734"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/brisbane.wordcamp.org\/2015\/wp-json\/wp\/v2\/session_category?post=734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}