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. Run the terminus authentication command in a terminal window, providing your new machine token.This will allow you to authenticate your computer with Pantheon. Generate a “Machine Token” for your account on the Pantheon website.Download and install the terminus utility.Use the following steps to get terminus setup: Next, if you are using Pantheon and have not yet installed the Terminus command line utility, I highly recommend doing so. For example, it should say “Database: Connected” and “Drupal Bootstrap: Successful” You should see some information about your Drupal site that Drush could only know if it is sucessfully connected to the database. Test that Drush is working by running the following command in your Drupal web root.Note, we have already installed the global drush launcher. It will tell you to require Drush be a dependency of your Drupal project, along with some optional steps. Visit the drush installation documentation and follow along.The reason behind this utility is that as of version 9 Drush expects to be a composer dependency of each Drupal website that uses it. This allows you to run the drush command from anywhere within your terminal. If you don’t already have it installed, install the drush global launcher. I’m not going to go into great detail about how to setup Drush on your system, but here are the basics for using Drush 9 with Drupal 8. I appreciate it more and more as I continue to learn of its capabilities. Paired with Drush, it becomes an invaluable tool in your belt for creating, developing, and maintaining a Drupal site on Pantheon. Terminus is a utility that allows developers to manage their Pantheon sites from their command line. So let’s say goodbye to the painful, major Drupal upgrade process, let’s embrace the future of continuous innovation, and let's have fun making the internet better for everyone-and upgrade as needed.Recently I’ve been using Pantheon more for client projects and have gained much more experience with using Terminus, so I decided to write this post as a place to keep track of my notes. All of the features released in Drupal 9.0.0 are also available on Drupal 8.9.0 right now, with no new features planned for release until the end of the year. We are upgrading our version of MariaDB to be compatible with Drupal 9 over the long haul and we want to see early adopters switch to Drupal 9 without issue before recommending everyone do the same. But we don't recommend switching your live sites just yet. Read more: How to Check out Drupal 9 on Pantheon!ĭrupal 9 is here and we certainly encourage you to check it out! We have several options documented on how to kick the tires or test your site’s upgrade, and we're offering a “Getting Started with Drupal 9” training. We all should want to live in the world of continuous innovation - and having both a CMS and a WebOps platform that lets web developers focus on results (instead of upgrades) is a winning path forward. Here at Pantheon we fully embrace the idea that the best web experiences are the result of an agile development process powered by a world-class WebOps platform. Gone are the days of the feared “Website Relaunch” that defined the upgrade journey from each major version of Drupal to the next. The real magic is in the straightforward upgrade path that allows Drupal 8.9 users to seamlessly transition to Drupal 9 when they want to make the switch. There are no new features in the 9.0 release and the default user experience is pretty much identical to Drupal 8. Yet, the biggest thing about Drupal 9’s release is that it won’t be a big thing at all. This really is the easiest Drupal upgrade in a decade and makes good on the promise that Drupal will make upgrades easy forever. As part of this release, underlying dependencies were updated and legacy code was deprecated, all while maintaining a clear and easy path forward for sites to upgrade. Let’s all celebrate today's release of Drupal 9.0.0! After almost five years of development from thousands of developers, this major release is the most modern and stable in Drupal’s history.
0 Comments
Leave a Reply. |