|
19 | 19 | * [Use Magento CLI (bin/magento)](#use-magento-cli-binmagento) |
20 | 20 | * [Debugging with XDebug](#debugging-with-xdebug) |
21 | 21 | * [Connecting to MySQL DB](#connecting-to-mysql-db) |
| 22 | + * [View emails sent by Magento](#view-emails-sent-by-magento) |
22 | 23 | * [Accessing PHP and other config files](#accessing-php-and-other-config-files) |
23 | 24 | * [Switch between PHP 5.6 and 7.0](#switch-between-php-56-and-70) |
24 | 25 | * [Multiple Magento instances](#multiple-magento-instances) |
@@ -134,6 +135,7 @@ Note, that semantic versioning is only used for `x.0` branches (not for `develop |
134 | 135 | 1. Make sure that you used `vagrant-magento` directory as project root in PHP Storm (not `vagrant-magento/magento2ce`) |
135 | 136 | 1. If code is not synchronized properly on Windows hosts (or when NFS mode is disabled in [config.yaml](etc/config.yaml.dist) explicitly), make sure that PhpStorm is running before making any changes in the code. This is important because otherwise PhpStorm will not be able to detect changes and upload them to the guest machine |
136 | 137 | 1. Please make sure that currently installed software, specified in [requirements section](#requirements), meets minimum version requirement |
| 138 | + 1. If MySQL fails to start and Magento reinstallation fails with `ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (13)`, try to run login to virtual machine using `vagrant ssh` and then run `sudo dpkg-reconfigure mysql-server-5.6`, then `sudo service mysql restart.` |
137 | 139 |
|
138 | 140 | ## Day-to-day development scenarios |
139 | 141 |
|
@@ -212,6 +214,10 @@ To debug Magento Setup script, go to [Magento installation script](scripts/guest |
212 | 214 |
|
213 | 215 | Answer can be found [here](https://github.com/paliarush/magento2-vagrant-for-developers/issues/8) |
214 | 216 |
|
| 217 | +### View emails sent by Magento |
| 218 | + |
| 219 | +All emails are saved to 'vagrant-magento/log/email' in HTML format. |
| 220 | + |
215 | 221 | ### Accessing PHP and other config files |
216 | 222 |
|
217 | 223 | It is possible to view/modify majority of guest machine config files directly from IDE on the host. They will be accessible in [etc/guest](etc/guest) directory only when guest machine is running. The list of accessible configs includes: PHP, Apache, Mysql, Varnish, RabbitMQ. |
|
0 commit comments