31 lines
705 B
Markdown
31 lines
705 B
Markdown
# LTS Magento Code Base
|
|
|
|
## Docker local development
|
|
|
|
Requirements: Docker Desktop with at least 4 GB of memory available to Docker.
|
|
|
|
Start the local services:
|
|
|
|
```shell
|
|
docker compose up -d --build
|
|
```
|
|
|
|
The storefront is available at <http://localhost:8080>. The default local-only
|
|
admin account created during initial setup is `admin` / `Admin123!`; obtain the
|
|
admin path with:
|
|
|
|
```shell
|
|
docker compose exec php php bin/magento info:adminuri
|
|
```
|
|
|
|
Useful commands:
|
|
|
|
```shell
|
|
docker compose exec php php bin/magento cache:flush
|
|
docker compose logs -f nginx php
|
|
docker compose stop
|
|
```
|
|
|
|
MySQL and OpenSearch data are stored in named Docker volumes, so `stop` or
|
|
`down` does not delete the local site data.
|