Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Fixed ordered list prefix (MD029) - Group 10 #5681

Merged
merged 2 commits into from
Oct 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ When you change from production to developer mode, you should clear generated cl
rm -rf <magento_root>/generated/metadata/* <magento_root>/generated/code/*
```

2. Set the mode:
1. Set the mode:

```bash
bin/magento deploy:mode:set developer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ You must write static view files to the Magento file system manually using the c
To deploy static view files:

1. Log in to the Magento server as, or [switch to]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html), the [Magento file system owner](https://glossary.magento.com/magento-file-system-owner).
2. Delete the contents of `<magento_root>/pub/static`, except for the `.htaccess` file. Do not delete this file.
3. Run the static view files deployment tool `<magento_root>/bin/magento setup:static-content:deploy`.
1. Delete the contents of `<magento_root>/pub/static`, except for the `.htaccess` file. Do not delete this file.
1. Run the static view files deployment tool `<magento_root>/bin/magento setup:static-content:deploy`.

{:.bs-callout .bs-callout-info}
If you enable static view file merging in the Magento Admin, the `pub/static` directory system must be writable.
Expand Down Expand Up @@ -329,8 +329,8 @@ You might want to run the deployment process in a separate, non-production, envi
To do this, take the following steps:

1. Run [`bin/magento app:config:dump`]({{ page.baseurl }}/config-guide/cli/config-cli-subcommands-config-mgmt-export.html) to export the configuration from your production system.
2. Copy the exported files to the non-production code base.
3. Run [`bin/magento setup:static-content:deploy`](#config-cli-subcommands-staticview).
1. Copy the exported files to the non-production code base.
1. Run [`bin/magento setup:static-content:deploy`](#config-cli-subcommands-staticview).

## Troubleshooting the static view files deployment tool {#view-file-trouble}

Expand All @@ -351,9 +351,9 @@ Use the following steps:
- [Command line]({{ page.baseurl }}/install-gde/install/cli/install-cli.html)
- [Setup wizard]({{ page.baseurl }}/install-gde/install/web/install-web.html)

2. Log in to the Magento server as, or [switch to]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html), the Magento file system owner.
3. Delete the contents of `<magento_root>/pub/static` directory, except for the `.htaccess` file. Do not delete this file.
4. [Run the static view files deployment tool](#config-cli-subcommands-staticview).
1. Log in to the Magento server as, or [switch to]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html), the Magento file system owner.
1. Delete the contents of `<magento_root>/pub/static` directory, except for the `.htaccess` file. Do not delete this file.
1. [Run the static view files deployment tool](#config-cli-subcommands-staticview).

## Tip for developers customizing the static content deployment tool

Expand Down
22 changes: 13 additions & 9 deletions guides/v2.2/config-guide/cli/config-cli-subcommands.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,23 @@ functional_areas:

## First steps {#config-cli-before}

1. Log in to the Magento server as, or switch to, the [Magento file system owner]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html).
2. Change to the following directory:
1. Log in to the Magento server as, or switch to, the [Magento file system owner]({{ page.baseurl }}/install-gde/prereq/file-sys-perms-over.html).
1. Change to the following directory:

cd <magento_root>/bin
```bash
cd <magento_root>/bin
```

Examples:
Examples:

- Ubuntu: `cd /var/www/magento2/bin`
- CentOS: `cd /var/www/html/magento2/bin`
- Ubuntu: `cd /var/www/magento2/bin`
- CentOS: `cd /var/www/html/magento2/bin`

You can run the commands in any of the following ways:

- `php magento <command>`
- `./magento <command>`
- `magento <command>` (after [adding](http://unix.stackexchange.com/questions/117467/how-to-permanently-set-environmental-variables) `<magento_root>/bin` to your system `PATH`)
- `php magento <command>`
- `./magento <command>`
- `magento <command>` (after [adding](http://unix.stackexchange.com/questions/117467/how-to-permanently-set-environmental-variables) `<magento_root>/bin` to your system `PATH`)

## Command summary {#config-cli-summary}

Expand Down Expand Up @@ -54,7 +56,9 @@ Before you run any of these commands, you must either [install the Magento appli
|[`bin/magento dev:template-hints:{enable/disable`}]({{ page.baseurl }}/frontend-dev-guide/themes/debug-theme.html)|Enables/disables developer template hints.|

## Help commands {#config-cli-help}

{% include install/cli_help-commands.md %}

## Common arguments {#config-cli-subcommands-common}

{% include install/cli_common-commands.md %}
Loading