Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A blogging framework for hackers
JavaScript Ruby
tree: 00d2b59c91

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
_plugins
_site
source
stylesheets
.gitignore
Gemfile
Gemfile.lock
README-octopress.markdown
README.textile
Rakefile
_config.yml
config.rb
config.ru
devblog.rb
rubypants.rb

README.textile

Readme

“permalink: pretty” in the config makes everything lose the .html. Don’t remove this.

Setup

bc.

  1. Dependencies:
    gem install bundler sinatra jekyll
    sudo easy_install Pygments
  2. Download:
    git clone git://github.com/infochimps/infochimps.github.com.git
  3. More dependencies:
    bundle install
  4. Don’t sweat it if these don’t work
    sudo apt-get install y gsl plotutils
    gslver=1.14.3
    cd /tmp
    wget http://rubyforge.org/frs/download.php/69960/rb-gsl
    ${gslver}.tar.gz
    tar xvzf rb-gsl-${gslver}.tar.gz
    cd rb-gsl-${gslver}
    ruby ./setup.rb config
    ruby ./setup.rb setup
    sudo ruby ./setup.rb install

Run rake preview to build the site and preview it in a local webserver.

Learnin’

TODO

  • Disqus
  • Stylin’

Deploy

  • Use branch ‘working’ or ‘yourname’ to compose a draft.
  • Do git merge master ; git push origin master to publish

Gotchas

  • WHEN IN DOUBT, NUKE _site/* and restart your server
  • If you delete a file or directory, you must nuke _site/* (otherwise it will just sit there, still generated. autoregenerate does not REMOVE files).
  • If you think your app is working just fine, you’re probably wrong. Nuke _site/*, restart jekyll and see if it still works.
  • If you are creating a new page and are using unicorn you will have to restart unicorn, but not jekyll.
  • If you see that jekyll has rendered a file, but it is not showing up in your browser, restart the server (unicorn or jekyll or whatever)
Something went wrong with that request. Please try again.