For new accelerator based sites, we will loosely follow these general steps:
- Create new Client Sandbox in Pantheon
- Clone the Accelerator Pantheon Repo to New Client Sandbox
- Ensure that work gets pushed to Dev
- Make any known changes to WP settings, such as:
- Site Name
- Site Emails
- Address/info in footer (where built into theme)
- Etc.
- Add any users defined by Project AE.
- Remove sample content and pages
- Be sure to leave Example KS page, for future QC.
- Ensure specialty pages like events, people, and news, if present in wires/designs, remain and are put in proper location. Note that events/calendar will need to live at toop level. More notes on calendar page itself.
- If IA exists, can assist in “Initial Site Stubout”, ensuring things like main pages get to correct places in main menu/etc, and changing/adding links in correct places to match design/ia.
- Change social media links to go to correct client locations.
Setup and clone in Pantheon steps
The first step is to create a new wordpress website in pantheon. In the example below your project’s label will be “Your New idfive Project” with a machine name of “your-new-idfive-project”. Important to remember to make it controlled by the idfive team, not a personal account.
Make sure you have Terminus installed. Installation instructions are found here.
Install terminus site clone plugin. The following code will use terminus itself to install the plugin. There are alternative install methods listed here.
terminus self:plugin:install pantheon-systems/terminus-site-clone-plugin
Make sure you are logged in to Pantheon on your machine via terminus with:
terminus auth:login --machine-token=yourreallylongmachinetokenstring
Use the terminus site clone to copy the Accelerator projects’s dev environment to your new projects dev environment.
terminus site:clone idfive-accelerator.dev your-new-idfive-project.dev
It may take a few minutes before you’re able to see it after it is done.