mage2click / docker-magento-mutagen

Mage2click Docker-based development environment for Magento with mutagen.io sync for files on macOS
https://mage2.click
MIT License
69 stars 9 forks source link

Added env/_config to configure location of synced "src" directory #52

Closed davidalger closed 5 years ago

davidalger commented 5 years ago

These changes support the POC setup for an internal Mediotype project where the code is located at src/webroot in the main Magento project repository. This allows having M2C setup in a containing repository with the Magento 2 codebase cloned as a sub-repository for testing and development without altering the existing structure, merely requiring updating the new env/_config file to this.

CONTAINER_SRC_SYNC_DIR=src/webroot

Previously this was setup just editing all the bin scripts as needed to facilitate, but that prevents us from running bin/update without having to re-apply all the manual edits, prompting this as a way to allow this project to update it's versions of the bin/scripts without having to always fix them to suite the file structure.

u-maxx commented 5 years ago

Thank you @davidalger!