I want to write a Thrift service using Scrooge.
Thrift has almost no documentation and Scrooge has even less.
How do I install Scrooge on an Ubuntu or OSX machine?
Once installed, and I have created a .thrift, how do I use Scrooge to generate server code and client code?
I created a giter8 template for you.
Install conscript
curl https://raw.github.com/n8han/conscript/master/setup.sh | sh
Install giter8
cs n8han/giter8
Get my template
g8 MasseGuillaume/scrooge
Install sbt (I Like sbt-extra) + add sbt to your $PATH
curl https://raw.github.com/paulp/sbt-extras/master/sbt > ~/bin/sbt
apply default parameters
Start a server on a terminal tab
sbt server/run
Start a client on another terminal tab when the server has started
sbt client/run
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With