Created
October 19, 2017 18:37
-
-
Save ashybaye/70d7900adc6ee7499d50e1a11877a768 to your computer and use it in GitHub Desktop.
Useful pipeline commands
This file contains 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
// Sync local database with prod | |
// <in uiowa703/docroot> | |
drush @<alias>.local sql-drop | |
drush sql-sync @<alias>.prod @<alias>.local | |
// Sync local uploaded files with prod | |
drush rsync @<alias>.prod:%files @<alias>.local:%files | |
// OR | |
drush @source.env rsync -A @self:%files @destination.env:%files |
This file contains 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
// <in uiowa703> | |
git pull | |
composer install | |
nile ldu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment