diff --git a/source/content/guides/drush/04-drupal-commandline.md b/source/content/drupal-commandline.md similarity index 98% rename from source/content/guides/drush/04-drupal-commandline.md rename to source/content/drupal-commandline.md index bc90241ee2..f628e216ab 100644 --- a/source/content/guides/drush/04-drupal-commandline.md +++ b/source/content/drupal-commandline.md @@ -6,7 +6,7 @@ tags: [terminus, site, cli] contributors: [stevector, whitneymeredith] type: guide showtoc: true -permalink: docs/guides/drush/drupal-commandline +permalink: docs/drupal-commandline contenttype: [guide] innav: [false] categories: [cli] @@ -16,8 +16,6 @@ product: [--] integration: [drush] --- - - [Drush](https://github.com/drush-ops/drush) is a tool for working with Drupal from the command line. [Terminus](/terminus) allows you to use the command line to do everything you can do in Pantheon's browser-based dashboard. You can also run Drush commands directly from Terminus, making it a single solution for command line development on Pantheon. This section walks you through using Drush and Terminus in the command line to create a new Drupal site and move configurations between Pantheon environments. diff --git a/source/content/drupal-configuration-management.md b/source/content/drupal-configuration-management.md index 8a646fbc03..9740d642b8 100644 --- a/source/content/drupal-configuration-management.md +++ b/source/content/drupal-configuration-management.md @@ -16,7 +16,7 @@ Managing configuration is an extremely important part of any team website projec Pantheon supports the [Drupal Configuration Management system](https://www.drupal.org/documentation/administer/config). Each Pantheon Drupal site defaults configuration into the `/config` directory. -You can export your configuration into that directory directly using Drush's `config-export` command or indirectly using Drupal's UI to download the configuration, and then use SFTP/Git to place the configuration in `config` or `sites/default/config`. For more information, check out the [Managing Content, Configuration, and Code Across Environments](/guides/drush/drupal-commandline#managing-content-configuration-and-code-across-environments) section of [Create a Drupal Site From the Command Line Using Terminus and Drush](/guides/drush/drupal-commandline). +You can export your configuration into that directory directly using Drush's `config-export` command or indirectly using Drupal's UI to download the configuration, and then use SFTP/Git to place the configuration in `config` or `sites/default/config`. For more information, check out the [Managing Content, Configuration, and Code Across Environments](/drupal-commandline#managing-content-configuration-and-code-across-environments) section of [Create a Drupal Site From the Command Line Using Terminus and Drush](/drupal-commandline). diff --git a/source/content/guides/custom-upstream/08-test-custom-upstream.md b/source/content/guides/custom-upstream/08-test-custom-upstream.md index 9133d55f18..9fa6bb2538 100644 --- a/source/content/guides/custom-upstream/08-test-custom-upstream.md +++ b/source/content/guides/custom-upstream/08-test-custom-upstream.md @@ -27,7 +27,7 @@ Failure to run the most up-to-date version of core based on upstreams maintained ### Use the Pantheon Workflow -Create content on your test site and use the standard [Pantheon workflow](/pantheon-workflow) to push up to your Test and Live environments, and fully test core updates. Checkout [our guide](/guides/drush/drupal-commandline/#managing-content-configuration-and-code-across-environments) for an example of generating content from the command line. +Create content on your test site and use the standard [Pantheon workflow](/pantheon-workflow) to push up to your Test and Live environments, and fully test core updates. Checkout [our guide](/drupal-commandline/#managing-content-configuration-and-code-across-environments) for an example of generating content from the command line. ### Sample a Few Sites diff --git a/source/content/guides/drush/01-introduction.md b/source/content/guides/drush/01-introduction.md index 724dbc105a..a623f22a4a 100644 --- a/source/content/guides/drush/01-introduction.md +++ b/source/content/guides/drush/01-introduction.md @@ -26,7 +26,7 @@ Drush developers should also install and use [Terminus](/terminus), a command-li Terminus automatically uses the version of Drush it finds in `vendor/bin/drush` when running Drush commands on the platform if you have a [Composer-based site](/guides/composer). -You can run the commands below from Terminus instead of using Drush aliases. For example, you can run `terminus drush . -- cc drush` instead of `drush @pantheon.SITENAME.dev cc drush`. Refer to [Manage Drupal Sites with Terminus and Drush](/guides/drush/drupal-commandline) for more information. +You can run the commands below from Terminus instead of using Drush aliases. For example, you can run `terminus drush . -- cc drush` instead of `drush @pantheon.SITENAME.dev cc drush`. Refer to [Manage Drupal Sites with Terminus and Drush](/drupal-commandline) for more information. ## Changelog diff --git a/source/content/guides/getstarted/06-addsite.md b/source/content/guides/getstarted/06-addsite.md index 1df97fd1e6..ad7a9ae2a9 100644 --- a/source/content/guides/getstarted/06-addsite.md +++ b/source/content/guides/getstarted/06-addsite.md @@ -108,5 +108,5 @@ Now it's time to purchase a site plan in preparation for launching your site. * [Manually Migrate Sites to Pantheon](/migrate-manual) * [Create a Static Site Using an Empty Upstream](/static-site-empty-upstream) * [Create a Drupal Site Using a Drupal Distribution](/guides/drupal-from-dist) -* [Create a Drupal Site From the Command Line Using Terminus and Drush](/guides/drush/drupal-commandline) +* [Create a Drupal Site From the Command Line Using Terminus and Drush](/drupal-commandline) * [Create a WordPress Site with Terminus and WP-CLI](/guides/create-wp-site) diff --git a/source/content/style-guide.md b/source/content/style-guide.md index 941f5c39fb..2e90afd48e 100644 --- a/source/content/style-guide.md +++ b/source/content/style-guide.md @@ -767,7 +767,7 @@ When you're moving a doc or heading to a new location, include a formatted table | docs.pantheon.io/drush | sc=301\|t=https://docs.pantheon.io/guides/drush | | docs.pantheon.io/drush-versions | sc=301\|t=https://docs.pantheon.io/guides/drush/drush-versions | | docs.pantheon.io/drush-import | sc=301\|t=https://docs.pantheon.io/guides/drush/drush-import | -| docs.pantheon.io/guides/drupal-commandline | sc=301\|t=https://docs.pantheon.io/guides/drush/drupal-commandline | +| docs.pantheon.io/drupal-commandline | sc=301\|t=https://docs.pantheon.io/drupal-commandline |

@@ -777,7 +777,7 @@ When you're moving a doc or heading to a new location, include a formatted table | docs.pantheon.io/drush | sc=301\|t=https://docs.pantheon.io/guides/drush | | docs.pantheon.io/drush-versions | sc=301\|t=https://docs.pantheon.io/guides/drush/drush-versions | | docs.pantheon.io/drush-import | sc=301\|t=https://docs.pantheon.io/guides/drush/drush-import | -| docs.pantheon.io/guides/drupal-commandline | sc=301\|t=https://docs.pantheon.io/guides/drush/drupal-commandline | +| docs.pantheon.io/drupal-commandline | sc=301\|t=https://docs.pantheon.io/drupal-commandline | ``` diff --git a/source/data/landings.yaml b/source/data/landings.yaml index 5db1faff06..3dd946d78a 100644 --- a/source/data/landings.yaml +++ b/source/data/landings.yaml @@ -60,7 +60,7 @@ url: "/terminus" icon: "video" - text: "Create a Drupal Site From the Command Line Using Terminus and Drush" - url: "/guides/drush/drupal-commandline" + url: "/drupal-commandline" icon: "book" - text: "Create a WordPress Site From the Command Line Using Terminus and WP-CLI" url: "/guides/wp-cli" @@ -578,7 +578,7 @@ url: "/terminus" icon: "video" - text: "Create a Drupal Site From the Command Line Using Terminus and Drush" - url: "/guides/drush/drupal-commandline" + url: "/drupal-commandline" icon: "book" - text: "Create a WordPress Site From the Command Line Using Terminus and WP-CLI" url: "/guides/wp-cli" @@ -832,7 +832,7 @@ - text: "Using Pantheon as a Training Platform for WordPress and Drupal" url: "/guides/trainers" - text: "Create a Drupal Site From the Command Line Using Terminus and Drush" - url: "/guides/drush/drupal-commandline" + url: "/drupal-commandline" - text: "Using WP SAML Auth with Google Apps" url: "/guides/wordpress-google-sso" - text: "Using WordPress with Composer on Pantheon" @@ -1040,7 +1040,7 @@ - text: "Configuring settings.php" url: "/guides/php/settings-php" - text: "Create a Drupal Site From the Command Line Using Terminus and Drush" - url: "/guides/drush/drupal-commandline/" + url: "/drupal-commandline/" - text: "Configuration Workflow for Drupal Sites" url: "/drupal-configuration-management" - text: "Configuring JetBrains PhpStorm IDE with Drupal on Pantheon" diff --git a/source/releasenotes/2015-03-01-documentation.md b/source/releasenotes/2015-03-01-documentation.md index 88cb506ec1..a0efe71e59 100644 --- a/source/releasenotes/2015-03-01-documentation.md +++ b/source/releasenotes/2015-03-01-documentation.md @@ -7,6 +7,6 @@ categories: [documentation] Check out our new guide Automated Testing for WordPress with Behat to learn how to set up Behat on your local machine and run automated tests against a remote WordPress site. **Editors note:** This was replaced with [Automate Testing with Behat](/guides/behat). -In our new guide [Use Terminus to Create and Update Drupal Sites on Pantheon](/guides/drush/drupal-commandline), you'll learn how to create a new Drupal site, install some contrib modules, commit code, and clone from one site environment to another—all through the Terminus CLI. +In our new guide [Use Terminus to Create and Update Drupal Sites on Pantheon](/drupal-commandline), you'll learn how to create a new Drupal site, install some contrib modules, commit code, and clone from one site environment to another—all through the Terminus CLI. Feel more at home at the command line? Read our [new guide](/guides/wp-cli) to learn how to use Terminus and WP-CLI to create and manage a WordPress site. diff --git a/source/releasenotes/2017-03-01-documentation.md b/source/releasenotes/2017-03-01-documentation.md index 357427d277..1fb188887b 100644 --- a/source/releasenotes/2017-03-01-documentation.md +++ b/source/releasenotes/2017-03-01-documentation.md @@ -5,4 +5,4 @@ categories: [documentation] --- ### New Articles -[Create a Drupal Site From the Command Line Using Terminus and Drush](/guides/drush/drupal-commandline) +[Create a Drupal Site From the Command Line Using Terminus and Drush](/drupal-commandline) diff --git a/source/releasenotes/2017-04-01-documentation.md b/source/releasenotes/2017-04-01-documentation.md index bc30595c76..4997b8e5c1 100644 --- a/source/releasenotes/2017-04-01-documentation.md +++ b/source/releasenotes/2017-04-01-documentation.md @@ -5,7 +5,7 @@ categories: [documentation] --- ### New Articles -[Create a Drupal Site From the Command Line Using Terminus and Drush](/guides/drush/drupal-commandline) +[Create a Drupal Site From the Command Line Using Terminus and Drush](/drupal-commandline) [Build Tools Guide](/guides/build-tools) diff --git a/src/components/omniSidebarNav/submenus/certification.js b/src/components/omniSidebarNav/submenus/certification.js index 4e88434e77..a0c5c8c324 100644 --- a/src/components/omniSidebarNav/submenus/certification.js +++ b/src/components/omniSidebarNav/submenus/certification.js @@ -81,6 +81,10 @@ const CertificationItems = () => { getGuideDirectory('guides/wordpress-git', 'WordPress and Git'), getGuideDirectory('guides/pagerduty', 'Incident Management'), getGuideDirectory('guides/accessibility', 'Web Accesibility'), + simpleLink( + '/drupal-commandline', + 'All CLI workflow with Terminus and Drupal', + ), simpleLink('/pivotal-tracker', 'Pivotal Tracker'), simpleLink('/pingdom-uptime-check', 'Pingdom Uptime Check'),