From 4f87bf0a10fc8d2a0c06000f5b5fc08a34db1a08 Mon Sep 17 00:00:00 2001 From: "Kristof, Fooman" Date: Fri, 11 Oct 2019 16:49:55 +1300 Subject: [PATCH 1/2] Add details for changing settings via command line --- docs/getting-started.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting-started.md b/docs/getting-started.md index 626cca31b..6c05f348b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -67,6 +67,9 @@ 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 +1. `bin/magento config:set cms/wysiwyg/enabled disabled` +
When you want to test the WYSIWYG functionality, re-enable WYSIWYG in your test suite.
@@ -80,6 +83,10 @@ 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 +1. `bin/magento config:set admin/security/admin_account_sharing 1` +2. `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**. From a2fba708521549617ff6e417efdd739d2aec4e93 Mon Sep 17 00:00:00 2001 From: Donald Booth Date: Thu, 17 Oct 2019 10:06:53 -0500 Subject: [PATCH 2/2] Formatting --- docs/getting-started.md | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 6c05f348b..8f024b90d 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -18,6 +18,7 @@ Make sure that you have the following software installed and configured on your
[PhpStorm] supports [Codeception test execution][], which is helpful when debugging.
+ ## Install Magento {#install-magento} Use instructions below to install Magento. @@ -67,14 +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 -1. `bin/magento config:set cms/wysiwyg/enabled disabled` +or via command line: + +```bash +bin/magento config:set cms/wysiwyg/enabled disabled +```
When you want to test the WYSIWYG functionality, re-enable WYSIWYG in your test suite.
-### 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: @@ -83,9 +87,15 @@ 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 -1. `bin/magento config:set admin/security/admin_account_sharing 1` -2. `bin/magento config:set admin/security/use_form_key 0` +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}