Last active
May 23, 2017 14:20
-
-
Save szeidler/0b0e166b0e34dbb01248680627470af1 to your computer and use it in GitHub Desktop.
Sets up docker4drupal requirements on mac. sudo curl https://gist.githubusercontent.com/szeidler/0b0e166b0e34dbb01248680627470af1/raw/setup-docker4drupal-mac-environment.sh | sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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