Created
September 25, 2013 02:01
-
-
Save EvanLovely/6694252 to your computer and use it in GitHub Desktop.
Drush alias for a server that doesn't have drush installed. Helps considerably when pushing and pulling databases and files for a Drupal site as it uses mysqldump, ssh, and rsync instead of drush (which is usually required for parsing the settings.php file and finding out what is set below.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$aliases['prod'] = array( | |
'root' => '', | |
'uri' => '', | |
'remote-user' => '', | |
'remote-host' => '', | |
'ssh-options' => '-o PasswordAuthentication=yes', | |
'path-aliases' => array( | |
'%files' => 'sites/default/files', | |
), | |
'databases' => | |
array( | |
'default' => | |
array( | |
'default' => | |
array( | |
'database' => '', | |
'username' => '', | |
'password' => '', | |
'host' => 'localhost', | |
'port' => '', | |
'driver' => 'mysql', | |
'prefix' => '', | |
), | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment