Setup instructions¶
Prerequisites¶
Composer installation¶
If you haven't already, install this extension via Composer:
composer require digitalpolygon/polymer-pantheon-drupal:0.x-dev
Install Terminus¶
Before you get started, if you don't already have Terminus installed in your environment, install it. See the Terminus installation instructions for more information.
Update Polymer project configuration¶
Update your polymer/polymer.yml
file to include the following configuration:
pantheon:
site-info:
id: <your pantheon site uuid>
name: <your pantheon site name>
Tip
The Pantheon site UUID can be found in the browser URL when viewing the site in the Pantheon dashboard.
The Pantheon site name can be found by running terminus site:list --filter=id=<site-uuid> --field=name
.
Install critical files and plugins¶
To fully integrate this extension with your Drupal and Pantheon application, run:
polymer pantheon:files:setup:drupal
It will do the following:
- Create the Drush site file needed to interact with the remote Pantheon application.
- Create a
pantheon.yml
file if it doesn't already exist. - Install the Terminus Quicksilver plugin and configuration file.
- Install Quicksilver webhooks into your application and updates
pantheon.yml
to use them. - Integrate
sites/default/settings.php
with Pantheon's settings file.