Skip to content

Instantly share code, notes, and snippets.

@pon
Created June 1, 2015 16:48
Show Gist options
  • Save pon/da5deaff07ff2a4fa45a to your computer and use it in GitHub Desktop.
Save pon/da5deaff07ff2a4fa45a to your computer and use it in GitHub Desktop.
# Install Brew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# ImageMagick
wget http://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-6.8.9-5.tar.gz
tar xvzf ImageMagick-6.8.9-5.tar.gz
cd ImageMagick-6.8.9-5
./configure
make
sudo make install
#Phantomjs Specific Version
brew tap homebrew/boneyard
git checkout 9089836d7539aa5530cbfc6cc3d9e3772ecc78b3 Library/Formula/phantomjs.rb
brew install phantomjs
#Host Config
sudo sh -c "echo \"127.0.0.1 api.lob-local.com\" >> /etc/hosts"
sudo sh -c "echo \"127.0.0.1 lob-local.com\" >> /etc/hosts"
sudo sh -c "echo \"127.0.0.1 dashboard.lob-local.com\" >> /etc/hosts"
sudo sh -c "echo \"127.0.0.1 inside.lob-local.com\" >> /etc/hosts"
# GhostScript Install
brew install ghostscript
# Poppler
brew install Caskroom/cask/xquartz
brew install poppler
# nvm
curl https://raw.githubusercontent.com/creationix/nvm/v0.20.0/install.sh | bash
source ~/.nvm/nvm.sh
nvm install 0.12
nvm alias default 0.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment