Skip to content

Commit 5a8c738

Browse files
committed
Documentation changes about how to sync and volumes according to latest changes on magento2-dockergento-console
1 parent 294cf78 commit 5a8c738

File tree

2 files changed

+10
-29
lines changed

2 files changed

+10
-29
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ and this project adheres to [Semantic Version](http://semver.org/spec/v2.0.0.htm
1111

1212
### Removed
1313

14+
## [next-version] - 00-00-2018
15+
16+
### Changed
17+
18+
* Documentation about how to sync `vendor` and `generated` volumes according to latest changes on [magento2-dockergento-console](https://github.com/ModestCoders/magento2-dockergento-console)
1419

1520
## [1.2.0] - 30-08-2018
1621
### Added

README.md

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
## Performance Comparison
66

7+
#### 10x faster than any other docker setup on MacOS
8+
79
<a href="https://youtu.be/sGmXc_lzTNM" target="_blank">
810
<img src="docs/img/comparison_speed_video.png" alt="Dockergento speed comparison" width="240" height="180" border="10" />
911
</a>
@@ -45,35 +47,9 @@ As a work-around for this behavior, you can put vendor or third-party library di
4547
* pub/static
4648
* pub/media
4749

48-
* Synchronise `vendor` and `generated` volumes using a specific `unison` container.
49-
50-
<details>
51-
<summary>How to sync volumes between host and container</summary>
52-
53-
See [dockergento workflow](#workflow) for a better understanding about whole development process with dockergento.
54-
55-
There are 2 options to sync the volumes `vendor` and `generated`
56-
57-
**Option 1: One time sync**
58-
59-
This option must be used most of the times. You should only need to sync `vendor` and `generated` from time to time for debugging purposes
60-
61-
```
62-
docker-compose run --rm unison sync -path vendor -path generated
63-
```
64-
65-
NOTE: For faster and more specific syncs, you can specify a subfolder like `sync -path vendor/<company_name>`.
66-
67-
**Option 2: Watch**
68-
69-
This option is only recommended if you are implementing code in a vendor module.
70-
71-
```
72-
docker-compose run --rm unison watch -path vendor/<company_name>/<module_name>`
73-
```
74-
75-
</details>
76-
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.
7753

7854
## Preconditions
7955

0 commit comments

Comments
 (0)