Skip to content

Instantly share code, notes, and snippets.

@szeidler
Last active May 23, 2017 14:20
Show Gist options
  • Save szeidler/0b0e166b0e34dbb01248680627470af1 to your computer and use it in GitHub Desktop.
Save szeidler/0b0e166b0e34dbb01248680627470af1 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Usage: sudo curl https://gist.githubusercontent.com/szeidler/0b0e166b0e34dbb01248680627470af1/raw/setup-docker4drupal-mac-environment.sh | sh
# Check if docker is setup.
if ! [ -x "$(command -v docker-compose)" ]; then
echo 'Make sure, that you have installed Docker4Mac: https://download.docker.com/mac/stable/Docker.dmg'
exit 1
fi
# Install unison for Mac
brew install unison
# Install docker-sync for mac
gem install docker-sync -v 0.2.3
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment