Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 633 Bytes

File metadata and controls

35 lines (27 loc) · 633 Bytes

Preparations

  1. Make sure Apache Thrift is compiled and installed
  2. Install maven (apt-get install mvn)

Running the server/client

Run the Java server

cd java-server-client
mvn test -Pserver

This command will run the server on port 9090

Run the Java client

cd java-server-client
mvn test -Pclient

Run the Python client

First, setup the required dependencies

git clone https://github.com/apache/thrift.git
cd ./thrift/lib/py
python setup.py install

Now you can easily run the python client

cd python/client
python main.py