You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-28Lines changed: 24 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,17 +39,19 @@ As a work-around for this behavior, you can put vendor or third-party library di
39
39
40
40
**Solution:**
41
41
42
-
* Use docker volumes for following directories:
42
+
* Set full magento app inside a named volume `magento`
43
+
* Synchronise only git repository files between host and container.
44
+
* Everything else is not synchronised, so performance is same as in local setups.
43
45
44
-
* vendor
45
-
* generated
46
-
* var
47
-
* pub/static
48
-
* pub/media
46
+
**How do you get the code that is not synchronised in your host?**
49
47
50
-
* Custom synchronisation of `vendor` and `generated`:
51
-
* 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.
48
+
Even if not synchronised, it is needed to have magento and vendor code in your host. Not only for developing but also for xdebug.
49
+
50
+
To sync that code seamlessly, [magento2-dockergento-console](https://github.com/ModestCoders/magento2-dockergento-console) uses `docker cp` automatically when you execute relevant commands like `dockergento composer` or `dockergento start`, so you do not need to care about that.
51
+
52
+
On the other hand, for those that implement modules inside vendor, we also provide a `unison` container that watches and syncs changes in background when you develop inside vendor.
53
+
54
+
See [dockergento workflow](#workflow) for a better understanding about whole development process with dockergento.
53
55
54
56
## Preconditions
55
57
@@ -87,37 +89,31 @@ As a work-around for this behavior, you can put vendor or third-party library di
0 commit comments