Skip to content

Commit 80f4195

Browse files
committed
Fix Build-in README installation command. Add required ElasticSearch params since 2.4. Add new line concatenation character
1 parent 3008324 commit 80f4195

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

phpserver/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ Without a router script, that is not possible via the php built-in server.
1717
Please read how to install Magento using the <a href="https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli.html" target="_blank">command line</a>. An example follows:
1818

1919
```
20-
php bin/magento setup:install --base-url=http://127.0.0.1:8082
21-
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento
22-
--admin-firstname=Magento --admin-lastname=User [email protected]
23-
--admin-user=admin --admin-password=admin123 --language=en_US
24-
--currency=USD --timezone=America/Chicago --use-rewrites=1
20+
php bin/magento setup:install --base-url=http://127.0.0.1:8082 \
21+
--db-host=localhost --db-name=magento --db-user=magento --db-password=magento \
22+
--admin-firstname=Magento --admin-lastname=User [email protected] \
23+
--admin-user=admin --admin-password=admin123 --language=en_US \
24+
--currency=USD --timezone=America/Chicago --use-rewrites=1 \
25+
--search-engine=elasticsearch7 --elasticsearch-host=es-host.example.com --elasticsearch-port=9200
2526
```
2627

2728
Notes:

0 commit comments

Comments
 (0)