drush site:alias '@live.live': paths: modules: modules theme: themes/herc root: /home/hest/public_html/web uri: /www.herculesindustries.com options: command-specific: sql-sync: sanitize: true no-ordered-dump: true structure-tables: common: - cache - cache_filter - cache_menu - cache_page - history - sessions - watchdog source-command-specific: sql-sync: no-cache: true '@stage.stage': paths: modules: modules theme: themes/herc root: /home/herc/public_html/web uri: herc.altagrade.com
0) Alias files are located in /etc/drush/sites/
l /etc/drush/sites/ total 8 drwxr-xr-x 2 root root 49 Nov 3 21:02 . drwxr-xr-x 3 root root 19 Nov 3 21:00 .. -rw-r--r-- 1 root root 545 Nov 3 21:02 live.site.yml -rw-r--r-- 1 root root 121 Nov 3 21:02 stage.site.yml
1) Drush config file are located in /home/herc/public_html/vendor/drush/drush/drush.yml and /home/hest/public_html/vendor/drush/drush/drush.yml
cat /home/herc/public_html/vendor/drush/drush/drush.yml #This is a Drush config file. Sites may override this config to change minimum PHP. drush: php: minimum-version: 7.1.3 paths: alias-path: - '${env.HOME}/.drush/sites' - /etc/drush/sites options: # Specify the base_url that should be used when generating links. # Not recommended if you have more than one Drupal site on your system. uri: 'https://herc.altagrade.net'
- Log in to post comments
- Copy all the steps