Last active
January 21, 2020 13:55
-
-
Save kharysharpe/79c714d36960d54912027ad006ad9e16 to your computer and use it in GitHub Desktop.
Developer Machine setup
This file contains 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
# sh -c "$(curl -fsSL https://gist.githubusercontent.com/kharysharpe/79c714d36960d54912027ad006ad9e16/raw/b8ef09c1238b53f09e37da9088f6637122850132/machine_setup.sh" | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew cask | |
brew tap homebrew/php | |
brew update && brew upgrade && brew doctor | |
brew install git git-flow node composer | |
composer global require "squizlabs/php_codesniffer=*" | |
composer global require phpmd/phpmd | |
brew cask install sequel-pro filezilla vlc 1password slack firefox google-chrome skype github atom diffmerge java | |
apm install atom-ide-ui ide-vue ide-php ide-css ide-html ide-typescript | |
apm install minimap-highlight-selected todo-show highlight-selected atom-beautify language-vue minimap project-manager simple-drag-drop-text color-picker emmet docblockr autocomplete-modules auto-update-packages file-icons autoclose-html auto-detect-indentation language-blade open-recent | |
echo ".DS_Store" > ~/.gitignore | |
git config --global merge.tool diffmerge | |
git config --global mergetool.diffmerge.cmd "/Applications/DiffMerge.app/Contents/MacOS/diffmerge --merge --result=\$MERGED \$LOCAL \$BASE \$REMOTE" | |
git config --global mergetool.keepBackup false | |
git config --global diff.tool diffmerge | |
git config --global difftool.diffmerge.cmd "/Applications/DiffMerge.app/Contents/MacOS/diffmerge \$LOCAL \$REMOTE" | |
mkdir ~/Code | |
mkdir ~/Sandbox | |
brew install ant | |
npm install -g cordova | |
brew install docker docker-compose docker-swarm docker-machine xhyve docker-machine-driver-xhyve | |
sudo chown root:wheel $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve | |
sudo chmod u+s $(brew --prefix)/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve | |
docker-machine create default --driver xhyve | |
eval $(docker-machine env default) | |
brew services start docker-machine | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
echo "ZSH_THEME=robbyrussell" > ~/.zshrc | |
echo "plugins=(brew colored-man colorize docker docker-compose git git-flow github gulp npm osx pip python virtualenv yarn zsh-syntax-highlighting)" >> ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment