Skip to content

Instantly share code, notes, and snippets.

@hazeledmands
Last active December 26, 2015 12:09
Show Gist options
  • Save hazeledmands/7148869 to your computer and use it in GitHub Desktop.
Save hazeledmands/7148869 to your computer and use it in GitHub Desktop.
Initial, lightweight, suggested Goodeggs setup
### #### ### out-of-date! use https://github.com/goodeggs/developer-start ### ### ###
# download command line tools at https://developer.apple.com
# some tools will complain about not knowing where binaries are, until you do this:
sudo xcode-select --switch /
# set up a basic .profile
cat <<EOF > ~/.profile
export PATH="/usr/local/bin:$PATH"
export RBENV_ROOT=/usr/local/var/rbenv # use brew's rbenv directory
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi # rbenv shims & autocomplete
[ -s $HOME/.nvm/nvm.sh ] && . $HOME/.nvm/nvm.sh # load nvm
EOF
# install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
# install important brew packages
brew install wget git rbenv ruby-build
# cask for mac os apps
brew tap phinze/homebrew-cask
brew install brew-cask
brew cask install onepassword google-chrome hipchat alfred skype caffeine
# configure git
git config --global push.default simple
git config --global user.name "Max Edmands"
git config --global user.email "max@goodeggs.com"
git config --global credential.helper osxkeychain
# install nvm and node
curl https://raw.github.com/creationix/nvm/master/install.sh | sh
. ~/.profile
nvm install v0.10.21
nvm alias default v0.10.21
# global node modules
npm install --global grunt-cli coffee-script
# install a ruby
rbenv install 2.0.0-p247
rbenv global 2.0.0-p247
# projects directory
mkdir ~/Projects
# Good Eggs stuff
#=================
# passwords
git clone https://github.com/goodeggs/vault ~/.goodeggs-vault
open ~/.goodeggs-vault/Good\ Eggs.agilekeychain
# heroku
gem install heroku
rbenv rehash
heroku keys
# mongo
brew install mongodb
ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents # load on startup
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist # run now
# rabbitmq
brew install rabbitmq
ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist
# get production mongodb credentials
npm install -g git+https://github.com/goodeggs/dump-and-restore
cat <<EOF >> ~/.profile
export AWS_ACCESS_KEY=xxxx # check 1password
export AWS_SECRET_ACCESS_KEY=xxxx # check 1password
EOF
# kale
git clone https://github.com/goodeggs/kale ~/Projects/kale
cd ~/Projects/kale
npm install
# garbanzo
git clone https://github.com/goodeggs/garbanzo ~/Projects/garbanzo
cd ~/Projects/garbanzo
npm install
# download data
dump-and-restore kale garbanzo
@adborden
Copy link

Can you update this with rabbitmq?

@hazeledmands
Copy link
Author

yerps :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment