|
@@ -158,13 +158,12 @@ The `magento.test` above defines the hostname to use, `community` is the Magento
|
|
|
|
|
|
|
|
After the one-liner above completes running, you should be able to access your site at `https://magento.test`.
|
|
After the one-liner above completes running, you should be able to access your site at `https://magento.test`.
|
|
|
|
|
|
|
|
-#### Install sample data
|
|
|
|
|
|
|
+#### Install sample data and development modules
|
|
|
|
|
|
|
|
-After the above installation is complete, run the following lines to install sample data:
|
|
|
|
|
|
|
+After the above installation is complete, you can initialize the development environment with sample data and dev-related modules with:
|
|
|
|
|
|
|
|
```bash
|
|
```bash
|
|
|
-bin/magento sampledata:deploy
|
|
|
|
|
-bin/magento setup:upgrade
|
|
|
|
|
|
|
+bin/init
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
### Manual Setup
|
|
### Manual Setup
|
|
@@ -197,6 +196,9 @@ bin/download community 2.4.8-p3
|
|
|
# Run the setup installer for Magento:
|
|
# Run the setup installer for Magento:
|
|
|
bin/setup magento.test
|
|
bin/setup magento.test
|
|
|
|
|
|
|
|
|
|
+# Initialize development environment with sample data and dev-related modules:
|
|
|
|
|
+bin/init
|
|
|
|
|
+
|
|
|
open https://magento.test
|
|
open https://magento.test
|
|
|
```
|
|
```
|
|
|
|
|
|
|
@@ -302,6 +304,7 @@ It is recommended to keep your root docker config files in one repository, and y
|
|
|
- `bin/fixowns`: This will fix filesystem ownerships within the container.
|
|
- `bin/fixowns`: This will fix filesystem ownerships within the container.
|
|
|
- `bin/fixperms`: This will fix filesystem permissions within the container.
|
|
- `bin/fixperms`: This will fix filesystem permissions within the container.
|
|
|
- `bin/grunt`: Run the grunt binary. Ex. `bin/grunt exec`
|
|
- `bin/grunt`: Run the grunt binary. Ex. `bin/grunt exec`
|
|
|
|
|
+- `bin/init`: Initialize development environment with sample data and dev-related modules.
|
|
|
- `bin/install-php-extensions`: Install PHP extension in the container. Ex. `bin/install-php-extensions sourceguardian`
|
|
- `bin/install-php-extensions`: Install PHP extension in the container. Ex. `bin/install-php-extensions sourceguardian`
|
|
|
- `bin/log`: Monitor the Magento log files. Pass no params to tail all files. Ex. `bin/log debug.log`
|
|
- `bin/log`: Monitor the Magento log files. Pass no params to tail all files. Ex. `bin/log debug.log`
|
|
|
- `bin/magento`: Run the Magento CLI. Ex: `bin/magento cache:flush`
|
|
- `bin/magento`: Run the Magento CLI. Ex: `bin/magento cache:flush`
|