Skip to content

Commit

Permalink
updated laptop for my purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorgio A Jimenez committed Jan 27, 2012
1 parent a59b8ca commit 21e83de
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 23 deletions.
14 changes: 14 additions & 0 deletions applications
@@ -0,0 +1,14 @@
echo "Installing SizeUp ..."
wget http://www.irradiatedsoftware.com/download/SizeUp.zip
unzip SizeUp.zip
mv SizeUp.app /Applications
rm SizeUp.zip

echo "Opening up browser for Google Chrome"
open https://www.google.com/chrome/index.html?brand=CHMO&installdataindex=homepagepromo

echo "Downloading Pomodoro"
wget http://pomodoro.ugolandini.com/pages/downloads_files/pomodoro-0.31.zip
unzip pomodoro-0.31.zip
mv pomodoro.app /Applications
rm pomodoro-0.31.zip
9 changes: 9 additions & 0 deletions code-repos
@@ -0,0 +1,9 @@
echo "Downloading tl-tools"
cd ~/Sites
git clone git@git.amexpub.com:travel-leisure/tl-tools.git
cd ~/

echo "Downloading travel-leisure"
cd ~/Sites
git clone git@git.amexpub.com:travel-leisure/travel-leisure.git
cd ~/
34 changes: 25 additions & 9 deletions mac
@@ -1,19 +1,16 @@
#!/usr/bin/env bash

echo "Checking for SSH key, generating one if it doesn't exist ..."
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
# echo "Checking for SSH key, generating one if it doesn't exist ..."
# [[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa

echo "Copying public key to clipboard. Paste it into your Github account ..."
[[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
open https://github.com/account/ssh
# echo "Copying public key to clipboard. Paste it into your Github account ..."
# [[ -f ~/.ssh/id_rsa.pub ]] && cat ~/.ssh/id_rsa.pub | pbcopy
# open https://github.com/account/ssh

echo "Installing Homebrew, a good OS X package manager ..."
ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"
brew update

echo "Installing Postgres, a good open source relational database ..."
brew install postgres --no-python

echo "Installing Redis, a good key-value database ..."
brew install redis

Expand All @@ -26,11 +23,30 @@ echo "Installing tmux, a good way to save project state and switch between proje
echo "Installing ImageMagick, good for cropping and re-sizing images ..."
brew install imagemagick

echo "Installing freetds"
brew install freetds

echo "Installing wget ..."
brew install wget

echo "Installing oh-my-zsh"
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh

echo "Installing RVM (Ruby Version Manager) ..."
curl -s https://rvm.beginrescueend.com/install/rvm -o rvm-installer ; chmod +x rvm-installer ; ./rvm-installer --version latest
echo "
# RVM
[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.zshrc
source ~/.zshrc

bash < <(curl -s https://raw.github.com/thoughtbot/laptop/master/ruby)
[[ -s '/Users/`whoami`/.rvm/scripts/rvm' ]] && source '/Users/`whoami`/.rvm/scripts/rvm'" >> ~/.profile
source ~/.profile
echo "Installing Ruby"
bash < <(curl -s https://raw.github.com/lorgio/laptop/master/ruby)
echo "Installing Applications"
bash < <(curl -s https://raw.github.com/lorgio/laptop/master/applications)
echo "Installing code-repos"
bash < <(curl -s https://raw.github.com/lorgio/laptop/master/code-repos)
28 changes: 14 additions & 14 deletions ruby
@@ -1,18 +1,18 @@
echo "Installing Ruby 1.9.2 stable and making it the default Ruby ..."
rvm install 1.9.2-p290
rvm use 1.9.2 --default
echo "Installing Ruby 1.8.7 stable and making it the default Ruby ..."
rvm install 1.8.7
rvm use 1.8.7 --default

echo "Installing Bundler for managing Ruby libraries ..."
gem install bundler --no-rdoc --no-ri
echo "Installing amex gems for deployment"
gem sources -a http://gems.amexpub.com/
gem install capistrano
gem install amexpub_cap_recipes

echo "Installing Rails to write and run web applications ..."
gem install rails --no-rdoc --no-ri
# echo "Installing Rails to write and run web applications ..."
gem install rails --no-rdoc --no-ri
gem install rails --no-rdoc --no-ri --v 2.3.11

echo "Installing the Heroku gem to interact with the http://heroku.com API ..."
gem install heroku --no-rdoc --no-ri
# echo "Installing the Taps gem to push and pull SQL databases between development, staging, and production environments ..."
# gem install taps --no-rdoc --no-ri

echo "Installing the Taps gem to push and pull SQL databases between development, staging, and production environments ..."
gem install taps --no-rdoc --no-ri

echo "Installing the pg gem to talk to Postgres databases ..."
gem install pg --no-rdoc --no-ri
echo "Installing the foreman gem for serving your Rails apps in development mode ..."
gem install foreman --no-rdoc --no-ri

0 comments on commit 21e83de

Please sign in to comment.