Skip to content

Instantly share code, notes, and snippets.

@steve9001
Forked from bkaney/setup.sh
Created December 28, 2012 16:44
Show Gist options
  • Select an option

  • Save steve9001/4399545 to your computer and use it in GitHub Desktop.

Select an option

Save steve9001/4399545 to your computer and use it in GitHub Desktop.

Revisions

  1. @bkaney bkaney revised this gist Dec 19, 2012. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion setup.sh
    Original file line number Diff line number Diff line change
    @@ -78,4 +78,7 @@ echo "Installing standalone Heroku CLI client. You'll need administrative rights
    successfully curl -s https://toolbelt.heroku.com/install.sh | sh

    echo "Installing the heroku-config plugin for pulling config variables locally to be used as ENV variables ..."
    successfully /usr/local/heroku/bin/heroku plugins:install git://github.com/ddollar/heroku-config.git
    successfully /usr/local/heroku/bin/heroku plugins:install git://github.com/ddollar/heroku-config.git

    echo "Installing node"
    successfully brew install node
  2. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -74,3 +74,8 @@ echo "Install homesick"
    echo "Install Vundle"
    successfully git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

    echo "Installing standalone Heroku CLI client. You'll need administrative rights on your machine ..."
    successfully curl -s https://toolbelt.heroku.com/install.sh | sh

    echo "Installing the heroku-config plugin for pulling config variables locally to be used as ENV variables ..."
    successfully /usr/local/heroku/bin/heroku plugins:install git://github.com/ddollar/heroku-config.git
  3. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion setup.sh
    Original file line number Diff line number Diff line change
    @@ -66,5 +66,11 @@ echo "Installing rbenv"
    successfully brew install rbenv
    successfully brew install ruby-build
    echo '# enable shims and autocompletion add to your profile:
    if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshenv
    if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc

    echo "Install homesick"
    successfully gem install homesick

    echo "Install Vundle"
    successfully git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle

  4. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -22,8 +22,7 @@ echo "Update/install zsh"
    successfully sudo echo "/usr/local/bin/zsh" >> /etc/shells
    successfully sudo mv /etc/zshenv /etc/zprofile
    successfully chsh -s /usr/local/bin/zsh $USER
    exec /usr/local/bin/zsh -l

    # exec /usr/local/bin/zsh -l

    echo "Update/install git"
    successfully brew install git
  5. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup.sh
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ echo "Update/install zsh"
    successfully sudo echo "/usr/local/bin/zsh" >> /etc/shells
    successfully sudo mv /etc/zshenv /etc/zprofile
    successfully chsh -s /usr/local/bin/zsh $USER
    exec zsh -l
    exec /usr/local/bin/zsh -l


    echo "Update/install git"
  6. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup.sh
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ echo "Installing homebrew"
    successfully ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
    successfully brew doctor
    successfully brew update
    successfully echo "export $PATH=$HOME/bin:/usr/local/bin:$PATH" >> ~/.zshrc
    successfully echo "export PATH=\$HOME/bin:/usr/local/bin:\$PATH" >> ~/.zshrc

    echo "Update/install zsh"
    successfully brew install zsh
  7. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ echo "Installing homebrew"
    successfully ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
    successfully brew doctor
    successfully brew update
    successfully echo "export $PATH=$HOME/bin:/usr/local/bin:$PATH" >> ~/.zshrc

    echo "Update/install zsh"
    successfully brew install zsh
  8. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion setup.sh
    Original file line number Diff line number Diff line change
    @@ -66,5 +66,5 @@ echo "Installing rbenv"
    successfully brew install rbenv
    successfully brew install ruby-build
    echo '# enable shims and autocompletion add to your profile:
    if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.profile
    if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshenv

  9. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -28,6 +28,7 @@ echo "Update/install git"
    successfully brew install git

    echo "Update/install vim"
    successfully brew install mercurial
    successfully brew install vim

    echo "Installing Postgres, a good open source relational database ..."
  10. @bkaney bkaney revised this gist Dec 18, 2012. 1 changed file with 14 additions and 0 deletions.
    14 changes: 14 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -16,6 +16,20 @@ echo "Installing homebrew"
    successfully brew doctor
    successfully brew update

    echo "Update/install zsh"
    successfully brew install zsh
    successfully sudo echo "/usr/local/bin/zsh" >> /etc/shells
    successfully sudo mv /etc/zshenv /etc/zprofile
    successfully chsh -s /usr/local/bin/zsh $USER
    exec zsh -l


    echo "Update/install git"
    successfully brew install git

    echo "Update/install vim"
    successfully brew install vim

    echo "Installing Postgres, a good open source relational database ..."
    successfully brew install postgres --no-python
    successfully initdb /usr/local/var/postgres -E utf8
  11. @bkaney bkaney revised this gist Dec 17, 2012. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -50,3 +50,6 @@ echo "Installing watch, used to execute a program periodically and show the outp
    echo "Installing rbenv"
    successfully brew install rbenv
    successfully brew install ruby-build
    echo '# enable shims and autocompletion add to your profile:
    if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.profile

  12. @bkaney bkaney revised this gist Dec 17, 2012. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -41,6 +41,9 @@ echo "Installing ImageMagick, for cropping and re-sizing images ..."
    echo "Installing QT, used by Capybara Webkit for headless Javascript integration testing ..."
    successfully brew install qt

    echo "Installing Phantomjs, also used for headless JS testing..."
    successfully brew install phantomjs

    echo "Installing watch, used to execute a program periodically and show the output ..."
    successfully brew install watch

  13. @bkaney bkaney created this gist Dec 17, 2012.
    49 changes: 49 additions & 0 deletions setup.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,49 @@
    #!/usr/bin/env zsh

    # Install the following first:
    #
    # - chrome
    # - iterm2
    # - connect.apple.com command-line: XCode tools


    successfully() {
    $* || (echo "failed" 1>&2 && exit 1)
    }

    echo "Installing homebrew"
    successfully ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
    successfully brew doctor
    successfully brew update

    echo "Installing Postgres, a good open source relational database ..."
    successfully brew install postgres --no-python
    successfully initdb /usr/local/var/postgres -E utf8

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

    echo "Installing ack, for searching the contents of files ..."
    successfully brew install ack

    echo "Installing ctags, for indexing files for vim tab completion of methods, classes, variables ..."
    successfully brew install ctags

    echo "Installing tmux, for saving project state and switching between projects ..."
    successfully brew install tmux

    echo "Installing reattach-to-user-namespace, for copy-paste and RubyMotion compatibility with tmux ..."
    successfully brew install reattach-to-user-namespace

    echo "Installing ImageMagick, for cropping and re-sizing images ..."
    successfully brew install imagemagick

    echo "Installing QT, used by Capybara Webkit for headless Javascript integration testing ..."
    successfully brew install qt

    echo "Installing watch, used to execute a program periodically and show the output ..."
    successfully brew install watch

    echo "Installing rbenv"
    successfully brew install rbenv
    successfully brew install ruby-build