2017 © Pedro Peláez
 

drupal-drush drush-shell-aliases

Useful Drush shell-aliases for Drupal 8 development.

image

modules-unraveled/drush-shell-aliases

Useful Drush shell-aliases for Drupal 8 development.

  • Wednesday, December 7, 2016
  • by ModulesUnraveled
  • Repository
  • 1 Watchers
  • 9 Stars
  • 620 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 6 Versions
  • 8 % Grown

The README.md

Useful Drush Commands for Drupal 8 Development

To use all of the commands in this file, you must have an alias file on each server named something like "mysite.aliases.drushrc.php". Information on examples is provided below., (*1)

Composer

If you use composer to install these, you'll need to add something like the following to your /drush/drushrc.php file, (*2)

<?php

 /**
 * Load additional drushrc.php files
 */
if (file_exists(__DIR__ . '/contrib/drush-shell-aliases/drushrc.php')) {
  include __DIR__ . '/contrib/drush-shell-aliases/drushrc.php';
}

How to Use These Commands

When setup, you could:, (*3)

  • Sync the prod database down to the local site by typing:

drush @mysite.loc data-live, (*4)

  • Or, fully rebuild your local site by typing:

drush @mysite.loc rebuild, (*5)

Which:, (*6)

  1. Runs "composer install" from the project root
  2. Syncs a copy of the live database
  3. Imports the current Git branch's configuration

Examples

Examples of the content required for each environment's alias files are provided in the Examples branch of this repo., (*7)

The Versions

07/12 2016

dev-master

9999999-dev https://github.com/ModulesUnraveled/Drush-Shell-Aliases

Useful Drush shell-aliases for Drupal 8 development.

  Sources   Download

GPL-2.0+

by Brian Lewis

drush

12/09 2016

1.0.4

1.0.4.0 https://github.com/ModulesUnraveled/Drush-Shell-Aliases

Useful Drush shell-aliases for Drupal 8 development.

  Sources   Download

GPL-2.0+

by Brian Lewis

drush

12/09 2016

1.0.3

1.0.3.0 https://github.com/ModulesUnraveled/Drush-Shell-Aliases

Useful Drush shell-aliases for Drupal 8 development.

  Sources   Download

GPL-2.0+

by Brian Lewis

drush

12/09 2016

1.0.2

1.0.2.0 https://github.com/ModulesUnraveled/Drush-Shell-Aliases

Useful Drush shell-aliases for Drupal 8 development.

  Sources   Download

GPL-2.0+

by Brian Lewis

drush

12/09 2016

1.0.1

1.0.1.0 https://github.com/ModulesUnraveled/Drush-Shell-Aliases

Useful Drush shell-aliases for Drupal 8 development.

  Sources   Download

GPL-2.0+

by Brian Lewis

drush

12/09 2016

1.0.0

1.0.0.0

Useful Drush shell-aliases for Drupal 8 development.

  Sources   Download

by Brian Lewis