![]() Sync a specific site environment with the configuration files.Force revert all features on a Drupal 7 site.Rebuild a specific site environment’s Drupal cache.This will include their machine safe names. Here are some terminus commands and examples that are common and useful. įor example, if you have a project named “mywebsite” and you create a multidev named “new-theme”, then you can run a drush command against that specific environment like this: terminus drush mywebsite.new-theme status The pattern you will use for terminus commands is this: terminus drush. Since terminus is a utility for managing all of your Pantheon sites, each drush command you send will always need to specifiy the site name and the environment. If you setup additional “multi-dev” environments in your Pantheon project, each of those multi-devs are also environments that can be targeted with terminus. By default, the three environments are identified as dev, test, and live. ![]() Additionally, each site on Pantheon has multiple environments. The first thing you probably want to do is get a list of your Pantheon sites: terminus site:listĮach site has a machine safe name that you will use to identify which site your commands is intended to affect. Now that you have Drush 9 working and Terminus installed, let’s test and explore the terminus command a little. I’m not going to duplicate the exact steps in this post. The documentation linked to above discribes all of this is much more detail.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |