Skip to content

Instantly share code, notes, and snippets.

@ashybaye
Created October 19, 2017 18:37
Show Gist options
  • Save ashybaye/70d7900adc6ee7499d50e1a11877a768 to your computer and use it in GitHub Desktop.
Save ashybaye/70d7900adc6ee7499d50e1a11877a768 to your computer and use it in GitHub Desktop.
Useful pipeline commands
// 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
// <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