Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 683 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 683 Bytes

An Example of Thrift server/client built by Buck

Dependencies

rev: f0852f333e5574390a8c0498575487b8ed0d3c82

rev: e71617c04e4426d0706d1c7342de4d2fb543f079

rev: 264d12f9fcf4423aeacb2be8e04aea6440ced718

##How to Run it?

  1. Build and run the C++ server:
  $ buck build //:main 
  $ ./buck-out/gen/main/main &
  1. Build and run the Python client:
  $ buck build //:client
  $ ./buck-out/gen/client.pex

If all goes well, you should see

INFO:root:connected
INFO:root:1 + 2 = 3

printed on your console.