Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipu-bd/thrift-demo
Demo app connecting java and c++ using Thrift
https://github.com/dipu-bd/thrift-demo
boilerplate cpp java thrift
Last synced: 13 days ago
JSON representation
Demo app connecting java and c++ using Thrift
- Host: GitHub
- URL: https://github.com/dipu-bd/thrift-demo
- Owner: dipu-bd
- Created: 2020-09-28T13:57:25.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-29T14:29:52.000Z (about 4 years ago)
- Last Synced: 2024-10-16T10:33:48.054Z (2 months ago)
- Topics: boilerplate, cpp, java, thrift
- Language: C++
- Homepage:
- Size: 67.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Thrift Demo
## Setup
- Either, install thrift 0.13.0:
```
# CentOS
$ sudo yum install thrift-devel# Ubuntu
$ sudo apt-get install libboost-dev libthrift-dev thrift-compiler
```- Or, build thrift 0.13.0:
```
$ wget -c https://downloads.apache.org/thrift/0.13.0/thrift-0.13.0.tar.gz
$ tar -zxvf thrift-0.13.0.tar.gz
$ cd thrift-0.13.0
$ ./configure
$ make
```## Build and run
- Build application
```
$ ./gradlew clean build
```- Run application
```
# Run server first
$ ./src/main/dist/exec/server# Run client later
$ ./gradlew run
```