Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (26 sloc) 1.33 kB
fc2143f @croaky mac is now a shell script. both mac & ubuntu now install ruby 1.9.2-p…
croaky authored
1 #!/usr/bin/env bash
2
a59b8ca @r00k Fix da words.
r00k authored
3 echo "Checking for SSH key, generating one if it doesn't exist ..."
ce0b76b @croaky trying to get this down to a one-liner
croaky authored
4 [[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
ee5fd2f @jyurek Generate SSH keys if you don't have them.
jyurek authored
5
bf60fca @croaky move ssh key generation to first step so people can be setting up the…
croaky authored
6 echo "Copying public key to clipboard. Paste it into your Github account ..."
ee5fd2f @jyurek Generate SSH keys if you don't have them.
jyurek authored
7 [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
bf60fca @croaky move ssh key generation to first step so people can be setting up the…
croaky authored
8 open https://github.com/account/ssh
9
256329f don't need to install git, a very recent version comes with lion
Dan Croak authored
10 echo "Installing Homebrew, a good OS X package manager ..."
047231e @croaky use newer official recommendation for installing homebrew. includes /…
croaky authored
11 /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
ee5fd2f @jyurek Generate SSH keys if you don't have them.
jyurek authored
12 brew update
fc2143f @croaky mac is now a shell script. both mac & ubuntu now install ruby 1.9.2-p…
croaky authored
13
256329f don't need to install git, a very recent version comes with lion
Dan Croak authored
14 echo "Installing Postgres, a good open source relational database ..."
fc2143f @croaky mac is now a shell script. both mac & ubuntu now install ruby 1.9.2-p…
croaky authored
15 brew install postgres --no-python
16
256329f don't need to install git, a very recent version comes with lion
Dan Croak authored
17 echo "Installing Redis, a good key-value database ..."
fc2143f @croaky mac is now a shell script. both mac & ubuntu now install ruby 1.9.2-p…
croaky authored
18 brew install redis
19
983b4fb @croaky install pg gem
croaky authored
20 echo "Installing ack, a good way to search through files ..."
2e36b42 @croaky adding ack, fixing missing commands
croaky authored
21 brew install ack
22
531645d @croaky install tmux, too
croaky authored
23 echo "Installing tmux, a good way to save project state and switch between projects ..."
24 brew install tmux
25
983b4fb @croaky install pg gem
croaky authored
26 echo "Installing ImageMagick, good for cropping and re-sizing images ..."
fc2143f @croaky mac is now a shell script. both mac & ubuntu now install ruby 1.9.2-p…
croaky authored
27 brew install imagemagick
28
983b4fb @croaky install pg gem
croaky authored
29 echo "Installing RVM (Ruby Version Manager) ..."
85c47dd @jasonm fix rvm-install syntax
jasonm authored
30 curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer --version latest
3d77620 @croaky correctly echo newlines into ~/.zshrc
croaky authored
31 echo "
32 # RVM
33 [[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.zshrc
d40b854 @croaky add rvm function to ~/.zshrc and source ~/.zshrc after installing rvm
croaky authored
34 source ~/.zshrc
35
ce0b76b @croaky trying to get this down to a one-liner
croaky authored
36 bash < <(curl -s https://raw.github.com/thoughtbot/laptop/master/ruby)
Something went wrong with that request. Please try again.