Commit 6034dc9a authored by jhodgdon's avatar jhodgdon

Issue #3054031 by eojthebrave, jhodgdon, Elijah Lynn, Balu Ertl, Pasqualle,...

Issue #3054031 by eojthebrave, jhodgdon, Elijah Lynn, Balu Ertl, Pasqualle, acpkendo, hansfn: Use long versions of Drush commands instead of abbreviated commands
parent 8529cdb8
......@@ -55,7 +55,7 @@ module's machine name is _tracker_.
. Run the following Drush command to install the module:
+
----
drush en tracker
drush pm:enable tracker
----
==== Expand your understanding
......
......@@ -77,7 +77,7 @@ module's machine name is _tracker_.
. Run the following Drush command to uninstall the module:
+
----
drush pm-uninstall tracker
drush pm:uninstall tracker
----
==== Expand your understanding
......
......@@ -102,16 +102,16 @@ desired.
cache:
+
----
drush sset system.maintenance_mode 1
drush cr
drush state:set system.maintenance_mode 1 --input-format=integer
drush cache:rebuild
----
. Run the following Drush commands to disable maintenance mode and clear the
cache:
+
----
drush sset system.maintenance_mode 0
drush cr
drush state:set system.maintenance_mode 0 --input-format=integer
drush cache:rebuild
----
. After running either set of commands, verify that your site is either in or
......
......@@ -112,7 +112,7 @@ _https://www.drupal.org/project/admin_toolbar_, the project name is
`admin_toolbar`) as a parameter:
+
----
drush en admin_toolbar
drush pm:enable admin_toolbar
----
. Follow the instructions on the screen.
......
......@@ -108,8 +108,8 @@ _https://www.drupal.org/project/mayo_, the project name is `mayo`.
_mayo_) as a parameter:
+
----
drush then mayo
drush config-set system.theme default mayo
drush theme:enable mayo
drush config:set system.theme default mayo
----
. Follow the instructions on the screen.
......
......@@ -49,7 +49,7 @@ mysqldump -u USERNAME -p'PASSWORD' DATABASENAME > BACKUPFILE.sql
* If you prefer to use Drush, use this command:
+
----
drush sql-dump > BACKUPFILE.sql
drush sql:dump --result-file=BACKUPFILE.sql
----
* Use the https://www.drupal.org/project/backup_migrate[contributed Backup and Migrate module]
......@@ -106,7 +106,7 @@ mysql -u USERNAME -pPASSWORD DATABASE_NAME < BACKUPFILE.sql
* If you prefer to use Drush, use this command:
+
----
drush sql-query --file=BACKUPFILE.sql
drush sql:query --file=BACKUPFILE.sql
----
. If your development and live sites need to have different configuration, then
......
......@@ -59,7 +59,7 @@ directory that you downloaded the software to, where _DB_NAME_, _DB_USER_ and
_DB_PASS_ are your database's credentials:
----
drush site-install standard --db-url='mysql://DB_USER:DB_PASS@localhost/DB_NAME' --site-name=example
drush site:install standard --db-url='mysql://DB_USER:DB_PASS@localhost/DB_NAME' --site-name=example
----
// ==== Related concepts
......
......@@ -63,7 +63,7 @@ _italics_.
such as:
+
----
drush cr
drush cache:rebuild
----
* Within this guide, the word _directory_ is always used to refer to file
......
......@@ -64,16 +64,16 @@ the file.
You can use one of two commands:
* Use the command `drush cache-rebuild` to clear and rebuild all cached data
* Use the command `drush cache:rebuild` to clear and rebuild all cached data
for a site. After running this command, you will see the output message "Cache
rebuild complete."
* Use the command `drush cc` to see a list of individual caches and then
choose the specific cache you would like to clear. Running this command should
produce output like the following:
* Use the command `drush cache:clear` to see a list of individual caches and
then choose the specific cache you would like to clear. Running this command
should produce output like the following:
+
----
> drush cc
> drush cache:clear
Enter a number to choose which cache to clear.
[0] : Cancel
[1] : drush
......
......@@ -77,7 +77,7 @@ your site directory.
* Visit _http://www.example.com/update.php_ in your browser (where
_www.example.com_ is your site's URL). Click _Continue_ in the first screen
to run the updates and successfully complete the script.
* Run the following Drush command: `drush updb`
* Run the following Drush command: `drush updatedb`
. If you get any error or warning, re-run the _update.php_ script
again till all the updates have been completed successfully.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment