Skip to content
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

Updated README and script: Added backend login credentials and 2FA setup instructions #1205

Open
wants to merge 10 commits into
base: release/next
Choose a base branch
from
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,26 @@ The `magento.test` above defines the hostname to use, and the `2.4.7` defines th

After the one-liner above completes running, you should be able to access your site at `https://magento.test`.

## Accessing the Magento Backend

After successfully installing the Magento environment, you can access the backend by following these steps:

1. Open your web browser and go to the following URL: `https://magento.test/admin/`.

2. Use the following default credentials to log in:
- **Username:** `john.smith`
- **Password:** `password123`

3. Upon logging in, you might be prompted to configure Two-Factor Authentication (2FA). By default, the email address used for this purpose is:
- **Email:** `[email protected]`

If you are testing in a local environment or development setup, and wish to disable 2FA, you can do so by running the following commands in your terminal:

```bash
bin/magento module:disable {Magento_TwoFactorAuth,Magento_AdminAdobeImsTwoFactorAuth}
bin/magento cache:clean
```

#### Install sample data

After the above installation is complete, run the following lines to install sample data:
Expand Down
6 changes: 6 additions & 0 deletions compose/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@ cp -r .vscode src/

echo "Docker development environment setup complete."
echo "You may now access your Magento instance at https://${DOMAIN}/"

echo "You may now access your Magento backend instance at https://${DOMAIN}/admin/"

echo "Use the following default credentials to log in:"
YevhenZvieriev marked this conversation as resolved.
Show resolved Hide resolved
echo "Username: john.smith"
echo "Password: password123"