Thrift Compiler as a Service
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README.md
compile_js.sh

README.md

Thriftify

Thrift compiler as a service.
Help you avoid compiling the whole thrift package just to get thrift bindings for a thrift IDL file.

Written by Eran Sandler (@erans)
http://eran.sandler.co.il
http://forecastcloudy.net (@forecastcloudy)

Inspired by a set of tweets by @scode and @rantav
https://twitter.com/rantav/status/189643309172539392

Contributors

Installation

  • Install tornado (sudo pip install tornado, or see http://www.tornadoweb.org/)
  • Install simplejson (sudo easy_install simplejson, or pip install)
  • Install thrift (http://thrift.apache.org/docs/install/). YMMV but here's a simple recepie for OS X using brew:
    • brew update
    • brew install boost
    • brew install libevent
    • Download thrift from http://thrift.apache.org/download/ and unzip
    • cd thrift-x.x.x
    • ./configure --prefix=/usr/local/ --with-boost=/usr/local/Cellar/boost --with-libevent=/usr/local/Cellar/libevent --disable-static
    • make install
    • validate and run thrift from: /usr/local/bin/thrift
  • Copy prod_settings.py to settings.py (or symlink, YMMV).
  • Run src/thriftify.py