Created
June 8, 2010 17:32
-
-
Save bandito/430356 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo aptitude install xvfb xfonts-base xfonts-75dpi xfonts-100dpi imagemagick ttf-mscorefonts-installer python-qt4 python-qt4 python-pip build-essential python-setuptools flashplugin-installer ruby ruby1.8-dev irb rdoc redis-server git-core | |
wget http://production.cf.rubygems.org/rubygems/rubygems-1.3.7.tgz | |
tar -zxvf rubygems-1.3.7.tgz | |
cd rubygems-1.3.7 | |
sudo ruby setup.rb | |
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem | |
sudo gem install sinatra json redis resque | |
wget http://github.com/AdamN/python-webkit2png/raw/master/webkit2png.py | |
sudo cp webkit2png.py /usr/bin/ | |
sudo chmod o+x /usr/bin/webkit2png.py | |
xvfb-run --server-args="-screen 0, 1024x768x24" webkit2png.py -o google.com.png http://www.google.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment