|
13 | 13 | * [Day-to-day development scenarios](#day-to-day-development-scenarios) |
14 | 14 | * [Reinstall Magento](#reinstall-magento) |
15 | 15 | * [Clear magento cache](#clear-magento-cache) |
| 16 | + * [Update composer dependencies](#update-composer-dependencies) |
| 17 | + * [Switch between CE and EE](#switch-between-ce-and-ee) |
16 | 18 | * [Debugging with XDebug](#debugging-with-xdebug) |
17 | 19 | * [Multiple Magento instances](#multiple-magento-instances) |
18 | 20 |
|
@@ -52,7 +54,7 @@ Software listed below should be available in [PATH](https://en.wikipedia.org/wik |
52 | 54 | git config --global core.eol LF |
53 | 55 | git config --global diff.renamelimit 5000 |
54 | 56 | ``` |
55 | | --  [PHP](http://php.net/manual/en/install.php) to allow Magento dependency management with [Composer](https://getcomposer.org/doc/00-intro.md) |
| 57 | +-  [PHP](http://php.net/manual/en/install.php) (any version) to allow Magento dependency management with [Composer](https://getcomposer.org/doc/00-intro.md) |
56 | 58 | - [PHP Storm](https://www.jetbrains.com/phpstorm) is optional but recommended. |
57 | 59 | -  [NFS server](https://en.wikipedia.org/wiki/Network_File_System) must be installed and running on \*nix and OSX hosts. Is usually available, so just try to follow [installation steps](#how-to-install) first. |
58 | 60 |
|
@@ -126,15 +128,35 @@ The following command will clear Magento DB, Magento caches and reinstall Magent |
126 | 128 | Go to 'vagrant-magento' created earlier and run in command line: |
127 | 129 |
|
128 | 130 | ``` |
129 | | -vagrant provision --provision-with install_magento |
| 131 | +bash m-reinstall |
130 | 132 | ``` |
131 | 133 |
|
132 | 134 | ### Clear magento cache |
133 | 135 |
|
134 | 136 | Go to 'vagrant-magento' created earlier and run in command line: |
135 | 137 |
|
136 | 138 | ``` |
137 | | -vagrant ssh -c 'magento_clear_cache' |
| 139 | +bash m-clear-cache |
| 140 | +``` |
| 141 | + |
| 142 | +### Switch between CE and EE |
| 143 | + |
| 144 | +Assume, that EE codebase is available in `vagrant_project_root/magento2ce/magento2ee`. |
| 145 | +The following commands will link/unlink EE codebase, clear cache, update composer dependencies and reinstall Magento. |
| 146 | +Go to 'vagrant-magento' created earlier and run in command line: |
| 147 | + |
| 148 | +``` |
| 149 | +bash m-switch-to-ce |
| 150 | +OR |
| 151 | +bash m-switch-to-ee |
| 152 | +``` |
| 153 | + |
| 154 | +### Update composer dependencies |
| 155 | + |
| 156 | +Go to 'vagrant-magento' created earlier and run in command line: |
| 157 | + |
| 158 | +``` |
| 159 | +bash m-composer-install |
138 | 160 | ``` |
139 | 161 |
|
140 | 162 | ### Debugging with XDebug |
|
0 commit comments