Skip to content

Instantly share code, notes, and snippets.

@shadcn
Last active February 23, 2017 18:38
Show Gist options
  • Save shadcn/484f66fef1a6be8c61ff2935571bf87d to your computer and use it in GitHub Desktop.
Save shadcn/484f66fef1a6be8c61ff2935571bf87d to your computer and use it in GitHub Desktop.
How to create a composer-based project on Pantheon.

How to create a composer-based project on Pantheon.

  1. Install Terminus: composer global require pantheon-systems/terminus.
  2. Head to your Pantheon dashboard, go to your Account and click on Machine Tokens.
  3. Create a new token and use it auth with Pantheon: terminus auth:login --machine-token=MACHINE-TOKEN
  4. Create a new site on Pantheon using terminus: terminus site:create name-of-site "Name of Site" 35b0e365-a191-4c70-adbe-9d02d01343f3. 35b0e365-a191-4c70-adbe-9d02d01343f3 is the uuid of the Drops 8 Composer upstream. You can see a list of upstream by running terminus upstream:list
  5. Once the site is created, you can head to http://dev-name-of-site.pantheonsite.io and continue with setup.
  6. Cloning your site on your local should give you a composer-based template.
@stevector
Copy link

@greg-1-anderson, Do you want the Drops 8 Composer upstream actually used or is that for testing purposes only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment