-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
56 lines (42 loc) · 1.12 KB
/
setup.sh
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
sudo -v
# Create directories
mkdir -p ~/Projects ~/Virtualenvs
sudo chown -R jbristol ~/Projects ~/Virtualenvs
# Install homebrew
which -s brew
if [[ $? != 0 ]] ; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Run homebrew
bash brew.sh
bash brew_cask.sh
# Install theme
wget -xqO ~/.oh-my-zsh/themes/aphrodite.zsh-theme https://git.io/v5ohc
# symlink it up!
bash symlink-setup.sh
# Install sonic-pi-cli
cargo install --git https://github.com/lpil/sonic-pi-tool/
# Setup RVM
command curl -sSL https://rvm.io/mpapis.asc | gpg --import -
curl -L https://get.rvm.io | bash -s stable --ruby
# Setup NVM
mkdir ~/.nvm
# Install virtualenv
source ~/.zshrc
gpip install virtualenv
# Create base virtualenvs
cd ~/Virtualenvs
virtualenv venv
virtualenv -p $(which python2) py2
# Setup cocoa pods
# TODO broken ruby version
pod setup
# Setup flutter
git clone -b v1.1.4 https://github.com/flutter/flutter.git ~/Documents/flutter --single-branch
source ~/.zshrc
flutter doctor --android-licenses
flutter doctor
# Setup setting backup
mackup backup -f
# Setup osx defaults
bash .macos