Skip to content

Instantly share code, notes, and snippets.

@avishayp
Last active September 26, 2018 13:16
Show Gist options
  • Save avishayp/9805ac418fde546d994efd39271b4071 to your computer and use it in GitHub Desktop.
Save avishayp/9805ac418fde546d994efd39271b4071 to your computer and use it in GitHub Desktop.
Demp app setup for the mac
#!/usr/bin/env bash
get_brew() {
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
}
which brew && echo "brew already installed" || get_brew
# get git
which git && echo "git already installed" || brew install git
# vagrant
which vagrant && echo "vagrant already installed" || brew cask install vagrant
brew cask install virtualbox
brew cask install docker
# docker-compose
which pip3 && echo "pip3 slready installed" || brew install python3
pip3 install --upgrade docker-compose
brew cask install teamviewer
# start docker daemon
killall Docker
open /Applications/Docker.app
# we need this to get ngrok domain
brew install jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment