You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-26Lines changed: 15 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,21 +158,6 @@ The `magento.test` above defines the hostname to use, `community` is the Magento
158
158
159
159
After the one-liner above completes running, you should be able to access your site at `https://magento.test`.
160
160
161
-
## Accessing the Magento Backend
162
-
163
-
After successfully installing the Magento environment, you can access the backend by following these steps:
164
-
165
-
1. Open your web browser and go to the following URL: `https://magento.test/admin/`.
166
-
167
-
2. Use the following default credentials to log in:
168
-
-**Username:**`john.smith`
169
-
-**Password:**`password123`
170
-
171
-
3. Upon logging in, you might be prompted to configure Two-Factor Authentication (2FA). This emails you a code to log in with (which you can check with Mailcatcher by visiting `http://{yourdomain}:1080`). By default, the email address used for this purpose is:
172
-
-**Email:**`john.smith@gmail.com`
173
-
174
-
If you are testing in a local development environment and wish to disable 2FA, you can do so by installing [Mark's DisableTwoFactorAuth module](https://github.com/markshust/magento2-module-disabletwofactorauth).
175
-
176
161
#### Install sample data
177
162
178
163
After the above installation is complete, run the following lines to install sample data:
@@ -209,17 +194,6 @@ bin/download community 2.4.7-p3
209
194
# bin/cli git checkout 2.4-develop
210
195
# bin/composer install
211
196
212
-
# Want to install Magento <2.4.6? In bin/setup-install, replace the lines:
213
-
# --elasticsearch-host="$ES_HOST" \
214
-
# --elasticsearch-port="$ES_PORT" \
215
-
# --opensearch-host="$OPENSEARCH_HOST" \
216
-
# --opensearch-port="$OPENSEARCH_PORT" \
217
-
# --search-engine=opensearch \
218
-
# with:
219
-
# --elasticsearch-host="$ES_HOST" \
220
-
# --elasticsearch-port="$ES_PORT" \
221
-
# --search-engine=elasticsearch7 \
222
-
223
197
# Run the setup installer for Magento:
224
198
bin/setup magento.test
225
199
@@ -395,6 +369,21 @@ rm -rf yourproject
395
369
396
370
Then, create your new project directory again so you can attempt the install process again. The `bin/removeall` command removes all previous Docker containers & volumes related to the specific project directory you are within. You can then attempt the install process again.
397
371
372
+
### Accessing the Magento Backend
373
+
374
+
After successfully installing the Magento environment, you can access the backend by following these steps:
375
+
376
+
1. Open your web browser and go to the following URL: `https://magento.test/admin/`.
377
+
378
+
2. Use the following default credentials to log in:
379
+
-**Username:**`john.smith`
380
+
-**Password:**`password123`
381
+
382
+
3. Upon logging in, you might be prompted to configure Two-Factor Authentication (2FA). This emails you a code to log in with (which you can check with Mailcatcher by visiting `http://{yourdomain}:1080`). By default, the email address used for this purpose is:
383
+
-**Email:**`john.smith@gmail.com`
384
+
385
+
If you are testing in a local development environment and wish to disable 2FA, you can do so by installing [Mark's DisableTwoFactorAuth module](https://github.com/markshust/magento2-module-disabletwofactorauth).
386
+
398
387
### Caching
399
388
400
389
For an improved developer experience, caches are automatically refreshed when related files are updated, courtesy of [cache-clean](https://github.com/mage2tv/magento-cache-clean). This means you can keep all of the standard Magento caches enabled, and this script will only clear the specific caches needed, and only when necessary.
0 commit comments