Skip to content

Instantly share code, notes, and snippets.

@jeremyolliver
Created March 19, 2013 00:44
Show Gist options
  • Save jeremyolliver/5192519 to your computer and use it in GitHub Desktop.
Save jeremyolliver/5192519 to your computer and use it in GitHub Desktop.
Initial Soloist Laptop install
#!/bin/bash
# This shell script was created at solowizard.com
#
# Usage:
# Running the script remotely:
# bash < <(curl -s http://www.solowizard.com/soloist_scripts/mkrsau.sh )
# Running the script if you have downloaded it:
# ./mkrsau.sh
#
# http://github.com/tommyh/solo_wizard
# (c) 2012, Tom Hallett
# This script may be freely distributed under the MIT license.
pushd `pwd`
if rvm --version 2>/dev/null; then
gem install soloist
else
sudo gem install soloist
fi
mkdir -p ~/cookbooks; cd ~/cookbooks
cat > soloistrc <<EOF
cookbook_paths:
- $PWD
recipes:
- pivotal_workstation::create_var_chef_cache
- pivotal_workstation::1password
- pivotal_workstation::ack
- pivotal_workstation::alfred
- pivotal_workstation::chrome
- pivotal_workstation::defaults_fast_key_repeat_rate
- pivotal_workstation::disable_front_row
- pivotal_workstation::dropbox
- pivotal_workstation::enable_assistive_devices
- pivotal_workstation::evernote
- pivotal_workstation::finder_display_full_path
- pivotal_workstation::firefox
- pivotal_workstation::flux
- pivotal_workstation::git
- pivotal_workstation::github_for_mac
- pivotal_workstation::gitx
- pivotal_workstation::global_environment_variables
- pivotal_workstation::homebrew
- pivotal_workstation::imagemagick
- pivotal_workstation::increase_shared_memory
- pivotal_workstation::iterm2
- pivotal_workstation::java
- pivotal_workstation::keyboard_preferences
- pivotal_workstation::locate_on
- pivotal_workstation::memcached
- pivotal_workstation::menubar_preferences
- pivotal_workstation::menumeters
- pivotal_workstation::mongodb
- pivotal_workstation::mysql
- pivotal_workstation::node_js
- pivotal_workstation::pg_admin
- pivotal_workstation::postgres
- pivotal_workstation::qt
- pivotal_workstation::rbenv
- pivotal_workstation::redis
- pivotal_workstation::screen_sharing_app
- pivotal_workstation::selenium_webdriver
- pivotal_workstation::skype
- pivotal_workstation::sourcetree
- pivotal_workstation::source_code_pro_font
- pivotal_workstation::sublime_text
- pivotal_workstation::unix_essentials
- pivotal_workstation::user_owns_usr_local
- pivotal_workstation::vim
- pivotal_workstation::virtualbox
- pivotal_workstation::xquartz
- pivotal_workstation::zsh
EOF
if [[ -d pivotal_workstation ]]; then
cd pivotal_workstation && git pull && cd ..
else
git clone https://github.com/pivotal/pivotal_workstation.git
fi
if [[ -d dmg ]]; then
cd dmg && git pull && cd ..
else
git clone https://github.com/opscode-cookbooks/dmg.git
fi
soloist
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment