44
55## Performance Comparison
66
7- #### 10x faster than any other docker setup on MacOS
7+ #### 5x faster than any other docker setup on MacOS
88
99<a href =" https://youtu.be/sGmXc_lzTNM " target =" _blank " >
1010 <img src =" docs/img/comparison_speed_video.png " alt =" Dockergento speed comparison " width =" 240 " height =" 180 " border =" 10 " />
@@ -49,7 +49,7 @@ As a work-around for this behavior, you can put vendor or third-party library di
4949
5050* Custom synchronisation of ` vendor ` and ` generated ` :
5151 * These volumes are synchronised seamless thanks to [magento2-dockergento-console](https://github.com/ModestCoders/magento2-dockergento-console)
52- * See [dockergento workflow](#workflow) for a better understanding about whole development process with dockergento.
52+ * See [dockergento workflow](#workflow) for a better understanding about whole development process with dockergento.
5353
5454## Preconditions
5555
@@ -101,9 +101,7 @@ As a work-around for this behavior, you can put vendor or third-party library di
101101 image: modestcoders/unison:2.51.2
102102 volumes:
103103 - app-vendor:/var/www/html/<magento_dir>/vendor
104- - app-generated:/var/www/html/<magento_dir>/generated
105104 - ./vendor:/sync/vendor
106- - ./generated:/sync/generated
107105 environment:
108106 - SYNC_SOURCE_BASE_PATH=/sync
109107 - SYNC_DESTINATION_BASE_PATH=/var/www/html/<magento_dir>
@@ -150,9 +148,7 @@ As a work-around for this behavior, you can put vendor or third-party library di
150148 ```
151149 </details>
152150
153- 3 . (Recommended) Install [ magento2-dockergento-console] ( https://github.com/ModestCoders/magento2-dockergento-console )
154-
155- It is recommended to use this bash script tool for easier development workflow. See [dockergento workflow](#workflow)
151+ 3 . Install [ magento2-dockergento-console] ( https://github.com/ModestCoders/magento2-dockergento-console )
156152
157153## Usage
158154
@@ -165,8 +161,8 @@ As a work-around for this behavior, you can put vendor or third-party library di
165161### Start Application
166162
167163```
168- docker-compose up app
169- docker-compose exec phpfpm composer install
164+ dockergento start
165+ dockergento composer install
170166sudo vim /etc/hosts
171167// Add -> 127.0.0.1 <your-domain>
172168```
@@ -197,10 +193,12 @@ There is bug in docker that causes volumes to stop working and start behaving li
197193
198194* ` dockergento volumes-check `
199195
200- In case of confirmation that volumes are broken, restart dockergento
196+ In case of confirmation that volumes are broken, restart dockergento:
201197
202198* ` dockergento restart `
203199
200+ ** NOTE** : if volumes are still broken after restarting, you need to restart the docker app :(
201+
204202## ChangeLog
205203
206204* [ CHANGELOG.md] ( CHANGELOG.md )
0 commit comments