书目详情:
Drush Users GuideTable of ContentsDrush Users GuideCreditsAbout the AuthorAbout the Reviewerwww.PacktPub.comSupport files, eBooks, discount offers and moreWhy Subscribe?Free Access for Packt account holdersPrefaceWhat this book coversWhat you need for this bookWho this book is forConventionsReader feedbackCustomer supportDownloading the example codeErrataPiracyQuestions1. Installation and Basic UsageIntroductionInstallation requirementsInstalling php-cli on Debian and UbuntuInstalling php-cli on MacInstallation for Linux and Unix including Mac)The installation processInstallation on WindowsAutomatic installationManual installationInstalling required librariesReplacing the TAR LibraryInstalling DrushConfigure environment variablesVerify the installationConfiguring php.iniDrush command structureExecuting a commandProviding arguments to a commandModifying a commands behavior through optionsCommand aliasesTelling Drush which site to work withExplicit methodsSummary2. Executing Drush CommandsDownloading and installing Drupal site-install)Configuring a site variable-set and variable-get)Listing available variablesSetting new values to variablesDeleting variablesFinding variables by nameWorking with projects pm-X and user-X)Viewing project informationDownloading and enabling modulesChoosing a specific version of a projectDisabling and uninstalling modulesViewing information about downloaded projectsUpgrading modulesCreating users and user rolesClearing out cached data and image styles cache-clear and image-flush)Flushing the cacheDeleting generated images from an image styleRunning cron core-cron)Working with a sites database sql-X commands)Backing up and restoring entire websites archive-dump and archive-restore)Monitoring watchdog messages watchdog-X)Summary3. Customizing DrushWriting a custom commandWriting our commandAnalyzing the definition of our commandAnalyzing the implementation of our commandValidating inputAltering and reacting to existing commandsAltering an existing commandExecuting custom PHP scriptsExecuting PHP code from the command lineExecuting PHP scriptsType less and do more with Drush Site AliasesConfiguring a Local AliasOrganizing Site Aliases within our systemInteracting with remote sitesGrouping related Site AliasesCreating a Grouped Alias file with our Local Site AliasAdding a Site Alias for the development siteThings we can do with remote Site AliasesSynchronizing databasesSynchronizing directoriesSharing configuration within Grouped AliasesUsing configuration filesOptimizing the terminal for DrushSaving Drush CLI configuration into our profileSummary4. Extending DrushBacking up and migrating sitesInstalling the module and looking at the help informationGenerate and restore a backupReinstall, inspect modules, and generate dataInstalling the moduleReinstalling modulesInspecting source codeSearching for hook implementationsViewing source code of functions and methodsGenerating users and nodesWorking with featuresManaging views from the command lineGenerating a custom module codebasePackaging module information in make filesInstalling Drush MakeGenerating a make file out of an existing siteGathering information about our site and writing a make fileLoading contents from the make file into a Drupal installationSummaryIndex
评论: