-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkarhoo_setup_20160125.sh
More file actions
107 lines (91 loc) · 3.29 KB
/
karhoo_setup_20160125.sh
File metadata and controls
107 lines (91 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
#!/bin/bash
#NODE_VERSION=0.4.7
#NPM_VERSION=1.0.94
# Examples
# https://github.com/donnemartin/dev-setup/blob/master/brew.sh
# https://gist.github.com/phatblat/1713458#file-heroku-node-init-sh
# https://gist.github.com/zenorocha/7159780
# Resources
# https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md
# https://github.com/caskroom/homebrew-cask
#
# Check if Homebrew is installed
#
which -s brew
if [[ $? != 0 ]] ; then
# Install Homebrew
# https://github.com/mxcl/homebrew/wiki/installation
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
brew update
fi
#
# Check if Git is installed
#
which -s git || brew install git
xcode-select --install
#
# Check if Node is installed and at the right version
#
#echo "Checking for Node version ${NODE_VERSION}"
#node --version | grep ${NODE_VERSION}
#if [[ $? != 0 ]] ; then
# Install Node
# cd `brew --prefix`
# $(brew versions node | grep ${NODE_VERSION} | cut -c 16- -)
# brew install node
# Reset Homebrew formulae versions
# git reset HEAD `brew --repository` && git checkout -- `brew --repository`
#fi
brew cask
brew cask install --appdir="/Applications" sublime-text
brew cask install --appdir="/Applications" pgadmin3
brew cask install --appdir="/Applications" google-chrome
brew cask install --appdir="/Applications" firefox
brew cask install --appdir="/Applications" filezilla
brew cask install --appdir="/Applications" iterm2
brew cask install --appdir="/Applications" sourcetree
brew cask install --appdir="/Applications" macdown
brew cask install --appdir="/Applications" github-desktop
brew cask install --appdir="/Applications" coda
brew cask install --appdir="/Applications" vlc
brew cask install --appdir="/Applications" alfred
brew cask install --appdir="/Applications" dash
brew cask install --appdir="/Applications" hipchat
brew cask install --appdir="/Applications" skype
brew cask install --appdir="/Applications" microsoft-office
#brew cask install --appdir="/Applications" pycharm-ce
brew cask install --appdir="/Applications" jiggler
brew cask install --appdir="/Applications" xquartz
brew cask install --appdir="/Applications" google-drive
brew cask install --appdir="/Applications" caffeine
brew cask install --appdir="/Applications" slack
brew cask alfred link
brew cask cleanup
brew install wget
brew install python3
brew install python
brew install postgresql --with-python
brew install mariadb
brew install mongodb
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
brew install chromedriver
brew install chrome-cli
brew install youtube-dl
brew install ffmpeg
brew install ack
brew install autoenv
brew install docker
brew install docker-compose
brew install rabbitmq
pip3 install virtualenv
pip3 install virtualenvwrapper
pip3 install selenium
pip3 install Django
# TODO - Universal defaults, not just Michael's
#wget -O ~/.bashrc https://raw.githubusercontent.com/mvbattista/dotfiles/master/.bashrc
#wget -O ~/.gitconfig https://raw.githubusercontent.com/mvbattista/dotfiles/master/.gitconfig
#wget -O ~/.bash_profile https://raw.githubusercontent.com/mvbattista/dotfiles/master/.bash_profile
#wget -O ~/.vimrc https://raw.githubusercontent.com/mvbattista/dotfiles/master/.vimrc
# TODO - Add creation of SSH key.
# ssh-add