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: environments/magento2.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
The below example demonstrates the from-scratch setup of the Magento 2 application for local development. A similar process can easily be used to configure an environment of any other type. This assumes that Warden has been previously started via `warden svc up` as part of the installation procedure.
4
4
5
-
```note::
5
+
```{note}
6
6
In addition to the below manual process, there is a `Github Template available for Magento 2 <https://github.com/wardenenv/warden-env-magento2>`_ allowing for quick setup of new Magento projects. To use this, click the green "Use this template" button to create your own repository based on the template repository, run the init script and update the README with any project specific information.
7
7
```
8
8
@@ -64,7 +64,7 @@ The below example demonstrates the from-scratch setup of the Magento 2 applicati
64
64
65
65
warden env up
66
66
67
-
```warning::
67
+
```{warning}
68
68
If you encounter an error about ``Mounts denied``, follow the instructions in the error message and run ``warden env up`` again.
69
69
```
70
70
@@ -76,7 +76,7 @@ The below example demonstrates the from-scratch setup of the Magento 2 applicati
76
76
77
77
composer global config http-basic.repo.magento.com <username> <password>
78
78
79
-
```note::
79
+
```{note}
80
80
To locate your authentication keys for Magento 2 repository, `reference DevDocs <https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html>`_.
81
81
82
82
If you have previously configured global credentials, you may skip this step, as ``~/.composer/`` is mounted into the container from the host machine in order to share composer cache between projects, and also shares the global ``auth.json`` from the host machine.
@@ -154,7 +154,7 @@ The below example demonstrates the from-scratch setup of the Magento 2 applicati
154
154
bin/magento indexer:reindex
155
155
bin/magento cache:flush
156
156
157
-
```note::
157
+
```{note}
158
158
Prior to Magento ``2.4.x`` it was not required to enter search-engine and elasticsearch configuration during installation and these params to ``setup:install`` are not supported by Magento ``2.3.x``. These should be omitted on older versions where not supported and Elasticsearch configured via ``config:set`` instead:
159
159
160
160
.. code::
@@ -197,7 +197,7 @@ The below example demonstrates the from-scratch setup of the Magento 2 applicati
Use of 2FA is mandatory on Magento ``2.4.x`` and setup of 2FA should be skipped when installing ``2.3.x`` or earlier. Where 2FA is setup manually via UI upon login rather than using the CLI commands above, the 2FA configuration email may be retrieved from `the Mailhog service <https://mailhog.warden.test/>`_.
202
202
```
203
203
@@ -208,6 +208,6 @@ The below example demonstrates the from-scratch setup of the Magento 2 applicati
To completely destroy the ``exampleproject`` environment we just created, run ``warden env down -v`` to tear down the project's Docker containers, volumes, etc.
The default username for Shopware 6 is ``admin`` with password ``shopware``.
77
77
```
78
78
79
-
```note::
79
+
```{note}
80
80
To completely destroy the ``exampleproject`` environment we just created, run ``warden env down -v`` to tear down the project's Docker containers, volumes, etc.
Each of the docker images used by Warden environments are published on Docker Hub: [https://hub.docker.com/u/wardenenv](https://hub.docker.com/u/wardenenv). Source files used to build these images may be found in the `images` directory of the main project repository. Github Actions are used to automatically build and push new images to Docker Hub when image sources are modified. Please refer to the repositories on Docker Hub for a list of available image versions and tags.
0 commit comments