Drush User’s Guide.
Material type: TextPublisher: Olton : Packt Publishing Ltd, 2012Copyright date: ©2012Edition: 1st edDescription: 1 online resource (149 pages)Content type: text Media type: computer Carrier type: online resourceISBN: 9781849517997Subject(s): Drupal (Computer file)Genre/Form: Electronic books.Additional physical formats: Print version:: Drush User’s GuideDDC classification: 006.7/6 | 006.76 LOC classification: TK5105.8885.D78 -- R47 2012ebOnline resources: Click to ViewIntro -- Drush User's Guide -- Table of Contents -- Drush User's Guide -- Credits -- About the Author -- About the Reviewer -- www.PacktPub.com -- Support files, eBooks, discount offers and more -- Why Subscribe? -- Free Access for Packt account holders -- Preface -- What this book covers -- What you need for this book -- Who this book is for -- Conventions -- Reader feedback -- Customer support -- Downloading the example code -- Errata -- Piracy -- Questions -- 1. Installation and Basic Usage -- Introduction -- Installation requirements -- Installing php-cli on Debian and Ubuntu -- Installing php-cli on Mac -- Installation for Linux and Unix (including Mac) -- The installation process -- Installation on Windows -- Automatic installation -- Manual installation -- Installing required libraries -- Replacing the TAR Library -- Installing Drush -- Configure environment variables -- Verify the installation -- Configuring php.ini -- Drush command structure -- Executing a command -- Providing arguments to a command -- Modifying a command's behavior through options -- Command aliases -- Telling Drush which site to work with -- Explicit methods -- Summary -- 2. Executing Drush Commands -- Downloading and installing Drupal (site-install) -- Configuring a site (variable-set and variable-get) -- Listing available variables -- Setting new values to variables -- Deleting variables -- Finding variables by name -- Working with projects (pm-X and user-X) -- Viewing project information -- Downloading and enabling modules -- Choosing a specific version of a project -- Disabling and uninstalling modules -- Viewing information about downloaded projects -- Upgrading modules -- Creating users and user roles -- Clearing out cached data and image styles (cache-clear and image-flush) -- Flushing the cache -- Deleting generated images from an image style.
Running cron (core-cron) -- Working with a site's database (sql-X commands) -- Backing up and restoring entire websites (archive-dump and archive-restore) -- Monitoring watchdog messages (watchdog-X) -- Summary -- 3. Customizing Drush -- Writing a custom command -- Writing our command -- Analyzing the definition of our command -- Analyzing the implementation of our command -- Validating input -- Altering and reacting to existing commands -- Altering an existing command -- Executing custom PHP scripts -- Executing PHP code from the command line -- Executing PHP scripts -- Type less and do more with Drush Site Aliases -- Configuring a Local Alias -- Organizing Site Aliases within our system -- Interacting with remote sites -- Grouping related Site Aliases -- Creating a Grouped Alias file with our Local Site Alias -- Adding a Site Alias for the development site -- Things we can do with remote Site Aliases -- Synchronizing databases -- Synchronizing directories -- Sharing configuration within Grouped Aliases -- Using configuration files -- Optimizing the terminal for Drush -- Saving Drush CLI configuration into our profile -- Summary -- 4. Extending Drush -- Backing up and migrating sites -- Installing the module and looking at the help information -- Generate and restore a backup -- Reinstall, inspect modules, and generate data -- Installing the module -- Reinstalling modules -- Inspecting source code -- Searching for hook implementations -- Viewing source code of functions and methods -- Generating users and nodes -- Working with features -- Managing views from the command line -- Generating a custom module codebase -- Packaging module information in make files -- Installing Drush Make -- Generating a make file out of an existing site -- Gathering information about our site and writing a make file.
Loading contents from the make file into a Drupal installation -- Summary -- Index.
A practical guide full of examples and step-by-step instructions to start using Drush right from chapter 1. Drupal developers or themers who understand Drupal administration's basic concepts. Drush can make building any kind of website quicker and easier, no matter if it is a development environment, beta, a simple blog or a complex system.
Description based on publisher supplied metadata and other sources.
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2018. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
There are no comments on this title.