Permalink
Browse files

updated laptop for my purposes

  • Loading branch information...
1 parent a59b8ca commit 99ea1840b7d0f93b4cef24fdabe1fcfb3d1cc3fd Lorgio Jimenez committed Jan 27, 2012
Showing with 62 additions and 23 deletions.
  1. +14 −0 applications
  2. +9 −0 code-repos
  3. +25 −9 mac
  4. +14 −14 ruby
View
@@ -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
View
@@ -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 ~/
View
@@ -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
@@ -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)
View
@@ -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 99ea184

Please sign in to comment.