Created
May 31, 2012 15:31
-
-
Save mirzu/2844183 to your computer and use it in GitHub Desktop.
alias file
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
<?php | |
// put the below in a file in ~/.drush/slc.alaises.drushrc.php | |
// allows commands like | |
// drush sql-sync @stage @mirzu | |
// -- to move the staging db to your sandbox | |
// and commands like | |
// drush rsync @stage @mirzu | |
// -- to move the files directory from staging to your sandbox | |
// with a couple of modifications it works with you local box as well. | |
<?php | |
$aliases['local'] = array( | |
'root' => '/home/mirzu/slc/www', | |
'uri' => 'local.slc' | |
); | |
$aliases['webchefs'] = array( | |
'remote-host' => 'webchefs.org', | |
'remote-user' => 'mirzu', | |
); | |
$aliases['stage'] = array( | |
'uri' => 'slc.webchefs.org', | |
'root' => '/var/www/vhosts/slc.com/www', | |
'target-command-specific' => array ( | |
'sql-sync' => array ( | |
'no-cache' => TRUE, | |
), | |
), | |
); | |
$aliases['mirzu'] = array( | |
'uri' => 'mirzu.slc.webchefs.org', | |
'root' => '/home/mirzu/www/slc', | |
'target-command-specific' => array ( | |
'sql-sync' => array ( | |
'no-cache' => TRUE, | |
), | |
), | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment