Skip to content

Add details for changing settings via command line #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 17, 2019
Merged
Changes from 2 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
19 changes: 18 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Make sure that you have the following software installed and configured on your
<div class="bs-callout bs-callout-tip" markdown="1">
[PhpStorm] supports [Codeception test execution][], which is helpful when debugging.
</div>

## Install Magento {#install-magento}

Use instructions below to install Magento.
Expand Down Expand Up @@ -67,11 +68,17 @@ To disable the WYSIWYG and enable the web driver to process these fields as simp
3. In the WYSIWYG Options section set the **Enable WYSIWYG Editor** option to **Disabled Completely**.
4. Click **Save Config**.

or via command line:

```bash
bin/magento config:set cms/wysiwyg/enabled disabled
```

<div class="bs-callout bs-callout-tip">
When you want to test the WYSIWYG functionality, re-enable WYSIWYG in your test suite.
</div>

### Security settings {#security-settings}
### Security settings {#security-settings}

To enable the **Admin Account Sharing** setting, to avoid unpredictable logout during a testing session, and disable the **Add Secret Key in URLs** setting, to open pages using direct URLs:

Expand All @@ -80,6 +87,16 @@ To enable the **Admin Account Sharing** setting, to avoid unpredictable logout d
3. Set **Add Secret Key to URLs** to **No**.
4. Click **Save Config**.

or via command line:

```bash
bin/magento config:set admin/security/admin_account_sharing 1
```

```bash
bin/magento config:set admin/security/use_form_key 0
```

### Nginx settings {#nginx-settings}

If Nginx Web server is used on your development environment then **Use Web Server Rewrites** setting in **Stores** > Settings > **Configuration** > **Web** > **Search Engine Optimization** must be set to **Yes**.
Expand Down