docker-magento
docker-magento copied to clipboard
bin/setup-domain is not compatible with Windows directory
Tip:
I'm using docker-magento and needed to add 127.0.0.1 ::1 magento.test
to c:\Windows\System32\Drivers\etc\hosts
after installation for it to work perfectly
This is due to the hard-coding of the /etc/hosts
directory at https://github.com/markshust/docker-magento/blob/master/compose/bin/setup-domain#L9 -- we'll need to build in a linux/win detector and then set the proper directory from that result.
probably use uname
to detect os, may work fine