Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 1.24 KB

terminus-pantheon.md

File metadata and controls

8 lines (8 loc) · 1.24 KB

Terminus (Pantheon CLI)

  1. terminus auth login [email protected] (authorizes your machine into pantheon - you need to create a machine token on pantheon.io before this will work)
  2. terminus sites create --upsteam=#### --site=site-name --label="Something good" --org=your-org-id (will give you a CLI walkthrough to install an instance on pantheon infrastruture)
  3. terminus site dashboard --site=yoursitename (automatically bounces you out to the pantheon dashboard GUI)
  4. terminus site connection-info --site=yoursitehere --env=dev --field=git_command\ (makes local git repo, NOTE backticks to get this to work)
  5. terminus wp 'core install --url --url=http://dev-example.pantheonsite.io --title="Name of site" --admin_user=admin --admin_password=somethinggood --admin_email="[email protected]"' (sets up a wordpress site - not really sure why you wouldnt just use their one button installer but hey, there is a command if you want to make your life harder)
  6. terminus wp 'plugin install plugin-slug-from-wordpress.com --activate' (installs plugin but will ask you for Pantheon admin pw for the site)
  7. terminus build:project:create github-repo-owner/github-repo-name YOUR-SITE-HERE (builds a Wordpress / Drupal based site on Pantheon)