Skip to content

Commit acf280b

Browse files
authored
Merge pull request #481 from fooman/patch-2
Add details for changing settings via command line
2 parents 8ac2937 + 9776088 commit acf280b

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

docs/getting-started.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Make sure that you have the following software installed and configured on your
1818
<div class="bs-callout bs-callout-tip" markdown="1">
1919
[PhpStorm] supports [Codeception test execution][], which is helpful when debugging.
2020
</div>
21+
2122
## Install Magento {#install-magento}
2223

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

71+
or via command line:
72+
73+
```bash
74+
bin/magento config:set cms/wysiwyg/enabled disabled
75+
```
76+
7077
<div class="bs-callout bs-callout-tip">
7178
When you want to test the WYSIWYG functionality, re-enable WYSIWYG in your test suite.
7279
</div>
7380

74-
### Security settings {#security-settings}
81+
### Security settings {#security-settings}
7582

7683
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:
7784

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

90+
or via command line:
91+
92+
```bash
93+
bin/magento config:set admin/security/admin_account_sharing 1
94+
```
95+
96+
```bash
97+
bin/magento config:set admin/security/use_form_key 0
98+
```
99+
83100
### Nginx settings {#nginx-settings}
84101

85102
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**.

0 commit comments

Comments
 (0)