ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
# 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.
|
||||
Reference in New Issue
Block a user