Last active
December 14, 2015 02:48
-
-
Save jmontross/5015950 to your computer and use it in GitHub Desktop.
Run this file from ~/cookbooks/setup_my_machine.sh with bash after doing the following steps 1. installing command line tools for osx (download x-code from app store, open x-code, preferences -> downloads > command line tools) 2. mkdir ~/cookbooks; cd ~/cookbooks; git clone https://github.com/opscode-cookbooks/dmg; git clone git://github.com/jmo…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This shell script was created at solowizard.com | |
# | |
# Usage: | |
# Running the script remotely: | |
# bash < <(curl -s http://www.solowizard.com/soloist_scripts/frsp9k.sh ) | |
# Running the script if you have downloaded it: | |
# ./frsp9k.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::ack | |
- pivotal_workstation::add_ops_user | |
- pivotal_workstation::ccmenu | |
- pivotal_workstation::chrome | |
- pivotal_workstation::create_var_chef_cache | |
- pivotal_workstation::defaults_fast_key_repeat_rate | |
- pivotal_workstation::default_editor | |
- pivotal_workstation::dropbox | |
- pivotal_workstation::enable_assistive_devices | |
- pivotal_workstation::erlang | |
- pivotal_workstation::firefox | |
- pivotal_workstation::flycut | |
- pivotal_workstation::function_keys | |
- pivotal_workstation::git | |
- pivotal_workstation::github_for_mac | |
- pivotal_workstation::gitx | |
- pivotal_workstation::git_config_global_defaults | |
- pivotal_workstation::git_scripts | |
- pivotal_workstation::ghostscript | |
- pivotal_workstation::global_environment_variables | |
- pivotal_workstation::homebrew | |
- pivotal_workstation::heroku_toolbelt | |
- pivotal_workstation::imagemagick | |
- pivotal_workstation::increase_shared_memory | |
- pivotal_workstation::inputrc | |
- 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::mouse_locator | |
- pivotal_workstation::mysql | |
- pivotal_workstation::nginx | |
- pivotal_workstation::node_js | |
- pivotal_workstation::postgres | |
- pivotal_workstation::prince_xml | |
- pivotal_workstation::qt | |
- pivotal_workstation::rabbitmq | |
- pivotal_workstation::redis | |
- pivotal_workstation::rubymine | |
- pivotal_workstation::rubymine_preferences_pivotal | |
- pivotal_workstation::rvm | |
- pivotal_workstation::screen_sharing_app | |
- pivotal_workstation::sizeup | |
- pivotal_workstation::skype | |
- pivotal_workstation::sshd_on | |
- pivotal_workstation::ssl_certificate | |
- pivotal_workstation::sublime_text | |
- pivotal_workstation::textmate | |
- pivotal_workstation::textmate_bundles | |
- pivotal_workstation::textmate_preferences | |
- pivotal_workstation::tmux | |
- pivotal_workstation::unix_essentials | |
- pivotal_workstation::user_owns_usr_local | |
- pivotal_workstation::vagrant | |
- pivotal_workstation::virtualbox | |
- pivotal_workstation::workspace_directory | |
- pivotal_workstation::xquartz | |
- pivotal_workstation::z | |
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