Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 25 additions & 35 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,19 @@ if type xcode-select >&- && xpath=$( xcode-select --print-path ) &&
# Install Python
brew install python
fi
fi
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
clear
echo -e "${RED}Install Python2? ${NC}[y/N]"
read -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
# Install Python
brew install python@2
export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
echo export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
fi

clear
echo -e "${RED}Install Ruby?${NC} [y/N]"
Expand Down Expand Up @@ -157,24 +170,7 @@ if type xcode-select >&- && xpath=$( xcode-select --print-path ) &&
brew install android-sdk
fi

clear
echo -e "${RED}Install Databases? ${NC}[y/N]"
read -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
brew install mysql
brew install postgresql
brew install mongo
brew install redis
brew install elasticsearch

# Install mysql workbench
# Install Cask
brew install caskroom/cask/brew-cask
brew cask install --appdir="/Applications" mysqlworkbench
fi



clear
# Install Homebrew Apps
Expand All @@ -192,30 +188,24 @@ if type xcode-select >&- && xpath=$( xcode-select --print-path ) &&

brew tap caskroom/cask

echo "Installing Apps"
brew cask install \
google-chrome \
coderunner \
gitter \
github-desktop \
atom \
gitkraken \
mamp \
macdown \
google-drive \
iterm2 \
sublime-text \
virtualbox \
scratch


echo "Cleaning Up Cask Files"
brew cask cleanup

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

clear

echo "${GREEN}Thanks for using DevMyMac! If you liked it, make sure to go to the Github Repo (https://github.com/adamisntdead/DevMyMac) and Star it! If you have any issues, just put them there, and all suggestions and contributions are appreciated!"
echo "${GREEN}Jobs finished, now seperatly install
google-chrome
coderunner
atom
macdown
google-drive
one-drive
iterm2
virtualbox
"

else
echo "Need to install the OSX Command Line Tools (or XCode) First! Starting Install..."
Expand Down